Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 207.1 kB / 22.99 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04721/0.04721, allocations: 9.243 MB / 322.4 MB, free: 9.844 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.88 kB / 448.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1131, allocations: 55.47 MB / 0.4926 GB, free: 6.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.009181/0.1222, allocations: 7.207 MB / 0.4996 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005276/0.1275, allocations: 2.428 MB / 0.502 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.1285, allocations: 35.88 kB / 0.502 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009273/0.1295, allocations: 365.6 kB / 0.5024 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.1326, allocations: 1.37 MB / 0.5037 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.133, allocations: 119.7 kB / 0.5038 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002919/0.1359, allocations: 2.422 MB / 0.5062 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1369, allocations: 0.6615 MB / 0.5068 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.1382, allocations: 0.8716 MB / 0.5077 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.14, allocations: 1.331 MB / 0.509 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003869/0.1404, allocations: 224 kB / 0.5092 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1417, allocations: 0.7294 MB / 0.5099 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.1429, allocations: 1.227 MB / 0.5111 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.144, allocations: 1.055 MB / 0.5121 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2121/0.3561, allocations: 4.953 MB / 0.517 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3561, allocations: 0 / 0.517 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3562, allocations: 0 / 0.517 GB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001287/0.3563, allocations: 0.9844 kB / 0.517 GB, free: 12.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1172 * Number of variables: 1172 Notification: Performance of Generate backend data structure: time 0.006405/0.3627, allocations: 3.262 MB / 0.5201 GB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3627, allocations: 11.34 kB / 0.5202 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006359/0.3691, allocations: 1.784 MB / 0.5219 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.3719, allocations: 1.262 MB / 0.5231 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.372, allocations: 141.7 kB / 0.5233 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004368/0.3724, allocations: 182.7 kB / 0.5234 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.386, allocations: 8.132 MB / 0.5314 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.398e-05/0.3861, allocations: 30.17 kB / 0.5314 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000292/0.3864, allocations: 91.41 kB / 0.5315 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003189/0.3896, allocations: 2.002 MB / 0.5335 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.4036, allocations: 7.168 MB / 0.5405 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03499/0.4385, allocations: 21.74 MB / 0.5617 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004835/0.4434, allocations: 1.654 MB / 0.5633 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.4447, allocations: 0.6842 MB / 0.564 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005514/0.4502, allocations: 2.414 MB / 0.5663 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.4502, allocations: 39.56 kB / 0.5664 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=114): time 4.288e-06/0.4502, allocations: 0 / 0.5664 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of matching and sorting (n=117): time 0.01061/0.4608, allocations: 4.393 MB / 0.5706 GB, free: 12.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.4609, allocations: 60.41 kB / 0.5707 GB, free: 12.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/0.4648, allocations: 2.227 MB / 0.5729 GB, free: 10.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.4649, allocations: 44.36 kB / 0.5729 GB, free: 10.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.4667, allocations: 2.223 MB / 0.5751 GB, free: 7.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005302/0.4672, allocations: 488.5 kB / 0.5756 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.4685, allocations: 0.7623 MB / 0.5763 GB, free: 6.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4687, allocations: 345.9 kB / 0.5766 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.4709, allocations: 1.174 MB / 0.5778 GB, free: 5.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/0.4751, allocations: 3.332 MB / 0.581 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006486/0.4816, allocations: 4.804 MB / 0.5857 GB, free: 11.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.119e-05/0.4816, allocations: 20 kB / 0.5857 GB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.008583/0.4902, allocations: 4.429 MB / 0.5901 GB, free: 7.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.272e-05/0.4903, allocations: 40 kB / 0.5901 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/0.4904, allocations: 76 kB / 0.5902 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/0.4906, allocations: 100.8 kB / 0.5903 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/0.4934, allocations: 0.8466 MB / 0.5911 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001503/0.4935, allocations: 151.4 kB / 0.5912 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.4959, allocations: 179.9 kB / 0.5914 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004664/0.4963, allocations: 228 kB / 0.5916 GB, free: 5.441 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (459): * Single equations (assignments): 454 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002671/0.499, allocations: 1.564 MB / 0.5932 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004018/0.4994, allocations: 190.5 kB / 0.5933 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.5021, allocations: 1.39 MB / 0.5947 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001315/0.5022, allocations: 24.5 kB / 0.5947 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5023, allocations: 4 kB / 0.5947 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.5023, allocations: 3.984 kB / 0.5947 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008716/0.511, allocations: 3.78 MB / 0.5984 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.511, allocations: 4.938 kB / 0.5984 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008395/0.5118, allocations: 187.7 kB / 0.5986 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.058e-05/0.5119, allocations: 8 kB / 0.5986 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.362e-05/0.5119, allocations: 31.98 kB / 0.5986 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.512, allocations: 12.41 kB / 0.5987 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/0.512, allocations: 9.562 kB / 0.5987 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.5158, allocations: 2.368 MB / 0.601 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006236/0.5164, allocations: 178.8 kB / 0.6012 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/0.5168, allocations: 24 kB / 0.6012 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008366/0.5176, allocations: 52.45 kB / 0.6012 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.5178, allocations: 72.7 kB / 0.6013 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-05/0.5179, allocations: 46.64 kB / 0.6013 GB, free: 11.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002496/0.5203, allocations: 1.293 MB / 0.6026 GB, free: 10.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5203, allocations: 3.938 kB / 0.6026 GB, free: 10.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002969/0.5233, allocations: 0.5937 MB / 0.6032 GB, free: 9.449 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 87 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003905/0.5237, allocations: 157 kB / 0.6033 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004887/0.5286, allocations: 2.55 MB / 0.6058 GB, free: 6.766 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.5286, allocations: 0 / 0.6058 GB, free: 6.766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5297, allocations: 0.603 MB / 0.6064 GB, free: 6.156 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.5312, allocations: 249.9 kB / 0.6067 GB, free: 5.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.5447, allocations: 6.786 MB / 0.6133 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003462/0.5482, allocations: 1.998 MB / 0.6152 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008243/0.549, allocations: 183.2 kB / 0.6154 GB, free: 12.86 MB / 462.1 MB Notification: Performance of SimCode: time 1.703e-06/0.549, allocations: 0 / 0.6154 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Templates: time 0.06829/0.6173, allocations: 38.26 MB / 0.6528 GB, free: 6.727 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.177286024205387] Failed to read output from testmodel.py, exit status != 0: 0.6268738261424005 0.643186749 0.28369102900000004 Calling exit ...