Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002758/0.002764, allocations: 369.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.086/4.086, allocations: 388.9 MB / 405.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003583/0.003583, allocations: 231.2 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5132/0.5132, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004657, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.09969, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03143/0.1312, allocations: 26.14 MB / 0.7056 GB, free: 15.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.1484, allocations: 6.094 MB / 0.7116 GB, free: 9.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005336/0.1538, allocations: 119.8 kB / 0.7117 GB, free: 9.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004454/0.1583, allocations: 1.295 MB / 0.713 GB, free: 7.906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01503/0.1734, allocations: 4.557 MB / 0.7174 GB, free: 3.332 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.1758, allocations: 371.4 kB / 0.7178 GB, free: 2.969 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.317/0.4929, allocations: 3.959 MB / 0.7216 GB, free: 13.86 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005573/0.4986, allocations: 2.275 MB / 0.7239 GB, free: 13.63 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.5016, allocations: 1.038 MB / 0.7249 GB, free: 13.63 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004164/0.5059, allocations: 1.726 MB / 0.7266 GB, free: 13.63 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001282/0.5072, allocations: 135.2 kB / 0.7267 GB, free: 13.63 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.5105, allocations: 0.6754 MB / 0.7273 GB, free: 13.62 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002845/0.5134, allocations: 1.486 MB / 0.7288 GB, free: 13.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.5148, allocations: 0.7565 MB / 0.7295 GB, free: 13.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008237/0.5231, allocations: 4.731 MB / 0.7342 GB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.5232, allocations: 0 / 0.7342 GB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.5232, allocations: 0 / 0.7342 GB, free: 13.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002452/0.5234, allocations: 0 / 0.7342 GB, free: 13.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01005/0.5335, allocations: 3.427 MB / 0.7375 GB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.5336, allocations: 8.969 kB / 0.7375 GB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02259/0.5562, allocations: 3.711 MB / 0.7411 GB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/0.5627, allocations: 1.951 MB / 0.743 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.5631, allocations: 192.8 kB / 0.7432 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/0.5651, allocations: 249.8 kB / 0.7435 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02776/0.5929, allocations: 10.44 MB / 0.7537 GB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001708/0.5931, allocations: 31.98 kB / 0.7537 GB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/0.5943, allocations: 119.4 kB / 0.7538 GB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006984/0.6013, allocations: 2.553 MB / 0.7563 GB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03291/0.6343, allocations: 9.473 MB / 0.7655 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09114/0.7255, allocations: 32.37 MB / 0.7972 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.7359, allocations: 3.367 MB / 0.8004 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003089/0.7391, allocations: 1.079 MB / 0.8015 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/0.741, allocations: 1.302 MB / 0.8028 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.923e-05/0.7411, allocations: 51.88 kB / 0.8028 GB, free: 6.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=187): time 5.51e-06/0.7411, allocations: 0 / 0.8028 GB, free: 6.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=193): time 0.03845/0.7796, allocations: 9.754 MB / 0.8123 GB, free: 12.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.7797, allocations: 94.42 kB / 0.8124 GB, free: 12.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006658/0.7864, allocations: 2.61 MB / 0.815 GB, free: 10.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003762/0.7868, allocations: 45.7 kB / 0.815 GB, free: 10.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003322/0.7902, allocations: 2.736 MB / 0.8177 GB, free: 7.461 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001274/0.7915, allocations: 0.7144 MB / 0.8184 GB, free: 6.754 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005701/0.7921, allocations: 99.94 kB / 0.8185 GB, free: 6.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005028/0.7926, allocations: 0.5207 MB / 0.819 GB, free: 6.129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005364/0.798, allocations: 1.544 MB / 0.8205 GB, free: 4.578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01295/0.811, allocations: 4.435 MB / 0.8248 GB, free: 14.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.822, allocations: 2.636 MB / 0.8274 GB, free: 12.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001514/0.8223, allocations: 28 kB / 0.8274 GB, free: 12.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=658) (initialization): time 0.02765/0.8499, allocations: 5.886 MB / 0.8332 GB, free: 6.172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.8502, allocations: 53.64 kB / 0.8332 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002694/0.8505, allocations: 104 kB / 0.8333 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007984/0.8513, allocations: 184.8 kB / 0.8335 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01094/0.8622, allocations: 1.092 MB / 0.8346 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.8658, allocations: 1.687 MB / 0.8362 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007425/0.8733, allocations: 215.9 kB / 0.8364 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/0.875, allocations: 300 kB / 0.8367 GB, free: 2.426 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (606): * Single equations (assignments): 599 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008755/0.8838, allocations: 2.027 MB / 0.8387 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009328/0.8847, allocations: 248.7 kB / 0.8389 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.8961, allocations: 2.522 MB / 0.8414 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.546e-05/0.8962, allocations: 7.969 kB / 0.8414 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.8962, allocations: 0 / 0.8414 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/0.8987, allocations: 0.4939 MB / 0.8419 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/0.9, allocations: 20 kB / 0.8419 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/0.9034, allocations: 55.3 kB / 0.842 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/0.9047, allocations: 87.28 kB / 0.842 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007391/0.9121, allocations: 2.334 MB / 0.8443 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009757/0.9219, allocations: 3.865 MB / 0.8481 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002541/0.9245, allocations: 0.9791 MB / 0.8491 GB, free: 5.738 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004314/0.9289, allocations: 1.592 MB / 0.8506 GB, free: 4.137 MB / 442.7 MB Notification: Performance of Backend: time 1.653e-06/0.929, allocations: 0 / 0.8506 GB, free: 4.137 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01045/0.9394, allocations: 3.13 MB / 0.8537 GB, free: 1.016 MB / 442.7 MB Notification: Performance of SimCode: time 0.02646/0.9659, allocations: 10.13 MB / 0.8636 GB, free: 6.828 MB / 458.7 MB Notification: Performance of Templates: time 0.1229/1.089, allocations: 29.87 MB / 0.8927 GB, free: 9.121 MB / 490.7 MB