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.001291/0.001291, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001403/0.001403, allocations: 161 kB / 23.01 MB, free: 4.602 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.401/1.401, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 179] 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.04693/0.04693, allocations: 7.13 MB / 266.9 MB, free: 9.715 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.002106/0.002106, allocations: 63.89 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09687, allocations: 55.45 MB / 448.8 MB, free: 2.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.009267/0.1061, allocations: 7.207 MB / 456 MB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005/0.1111, allocations: 2.42 MB / 458.4 MB, free: 9.238 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.1119, allocations: 31.94 kB / 458.5 MB, free: 9.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007937/0.1127, allocations: 361.6 kB / 458.8 MB, free: 8.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.1156, allocations: 1.374 MB / 460.2 MB, free: 7.473 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.1159, allocations: 111.7 kB / 460.3 MB, free: 7.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002909/0.1188, allocations: 2.429 MB / 462.7 MB, free: 4.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009217/0.1198, allocations: 0.67 MB / 463.4 MB, free: 4.238 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1208, allocations: 0.8716 MB / 464.3 MB, free: 3.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.1226, allocations: 1.327 MB / 465.6 MB, free: 2.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003479/0.123, allocations: 220 kB / 465.8 MB, free: 1.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.1243, allocations: 0.7373 MB / 466.6 MB, free: 1.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.1255, allocations: 1.215 MB / 467.8 MB, free: 15.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.1267, allocations: 1.063 MB / 468.8 MB, free: 14.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005639/0.1323, allocations: 4.96 MB / 473.8 MB, free: 9.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1323, allocations: 0 / 473.8 MB, free: 9.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1323, allocations: 0 / 473.8 MB, free: 9.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.639e-05/0.1324, allocations: 0 / 473.8 MB, free: 9.809 MB / 446.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.006191/0.1386, allocations: 3.27 MB / 477.1 MB, free: 6.488 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1386, allocations: 8.031 kB / 477.1 MB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007274/0.1459, allocations: 1.875 MB / 479 MB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.1484, allocations: 1.257 MB / 480.2 MB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.1485, allocations: 143.8 kB / 480.4 MB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000371/0.1489, allocations: 192.2 kB / 480.5 MB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1706/0.3195, allocations: 8.091 MB / 488.6 MB, free: 66.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-05/0.3195, allocations: 19.7 kB / 488.7 MB, free: 66.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.3197, allocations: 89.31 kB / 488.7 MB, free: 66.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002562/0.3223, allocations: 1.984 MB / 490.7 MB, free: 65.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.3323, allocations: 7.091 MB / 497.8 MB, free: 63.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/0.3534, allocations: 21.78 MB / 0.5074 GB, free: 49.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/0.3573, allocations: 1.718 MB / 0.5091 GB, free: 48.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009077/0.3582, allocations: 0.6641 MB / 0.5097 GB, free: 48.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004178/0.3624, allocations: 2.441 MB / 0.5121 GB, free: 47.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3624, allocations: 48.16 kB / 0.5122 GB, free: 47.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 2.785e-06/0.3624, allocations: 0 / 0.5122 GB, free: 47.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=117): time 0.008375/0.3708, allocations: 4.47 MB / 0.5165 GB, free: 45.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.3708, allocations: 61 kB / 0.5166 GB, free: 45.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.3732, allocations: 2.22 MB / 0.5188 GB, free: 44.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.3733, allocations: 41.83 kB / 0.5188 GB, free: 44.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007635/0.374, allocations: 2.234 MB / 0.521 GB, free: 42.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.3743, allocations: 480.6 kB / 0.5214 GB, free: 42.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007791/0.375, allocations: 0.764 MB / 0.5222 GB, free: 42.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.3751, allocations: 348.4 kB / 0.5225 GB, free: 41.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.3768, allocations: 1.167 MB / 0.5237 GB, free: 41.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.3791, allocations: 3.323 MB / 0.5269 GB, free: 38.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/0.3833, allocations: 4.788 MB / 0.5316 GB, free: 34.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.093e-05/0.3834, allocations: 21.84 kB / 0.5316 GB, free: 34.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.006398/0.3898, allocations: 4.404 MB / 0.5359 GB, free: 32.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.3898, allocations: 38.5 kB / 0.5359 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.928e-05/0.3899, allocations: 74.72 kB / 0.536 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.39, allocations: 101.1 kB / 0.5361 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.3924, allocations: 0.8536 MB / 0.5369 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.815e-05/0.3925, allocations: 155 kB / 0.5371 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.3947, allocations: 183.6 kB / 0.5373 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.3949, allocations: 224.5 kB / 0.5375 GB, free: 32.07 MB / 446.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.00202/0.3969, allocations: 1.565 MB / 0.539 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.3971, allocations: 182.5 kB / 0.5392 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.3992, allocations: 1.377 MB / 0.5405 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000122/0.3994, allocations: 26.39 kB / 0.5406 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3994, allocations: 4.688 kB / 0.5406 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.3994, allocations: 3.891 kB / 0.5406 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005865/0.4052, allocations: 3.786 MB / 0.5443 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.4053, allocations: 9.078 kB / 0.5443 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.406, allocations: 182.2 kB / 0.5444 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.406, allocations: 8.688 kB / 0.5445 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.4061, allocations: 35.38 kB / 0.5445 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.4061, allocations: 13.44 kB / 0.5445 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4061, allocations: 11.94 kB / 0.5445 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.4088, allocations: 2.33 MB / 0.5468 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.4091, allocations: 182.3 kB / 0.547 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.4092, allocations: 22.06 kB / 0.547 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.4099, allocations: 51.47 kB / 0.547 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.41, allocations: 76.36 kB / 0.5471 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.4101, allocations: 47.12 kB / 0.5471 GB, free: 24.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.4115, allocations: 1.292 MB / 0.5484 GB, free: 23.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4115, allocations: 0 / 0.5484 GB, free: 23.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002392/0.4139, allocations: 0.5984 MB / 0.549 GB, free: 23.07 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.0002273/0.4141, allocations: 156.5 kB / 0.5491 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003266/0.4174, allocations: 2.531 MB / 0.5516 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4174, allocations: 0 / 0.5516 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.4182, allocations: 0.5972 MB / 0.5522 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.4193, allocations: 253.5 kB / 0.5524 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007718/0.427, allocations: 6.382 MB / 0.5587 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.4291, allocations: 2.001 MB / 0.5606 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001999/0.4311, allocations: 1.072 MB / 0.5617 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.4314, allocations: 140 kB / 0.5618 GB, free: 11.7 MB / 446.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4314, allocations: 0 / 0.5618 GB, free: 11.7 MB / 446.1 MB Notification: Performance of Templates: time 0.03003/0.4614, allocations: 17.3 MB / 0.5787 GB, free: 10.72 MB / 462.1 MB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.045814460027032] Failed to read output from testmodel.py, exit status != 0: 0.469840896083042 0.48421667199999996 0.34875987799999997 Calling exit ...