Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.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.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003933/0.003933, allocations: 371.5 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.019/4.019, allocations: 388.9 MB / 405.6 MB, free: 9.562 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.003499/0.003499, allocations: 225.9 kB / 451 MB, free: 145 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.5249/0.5249, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.04683/0.1752, allocations: 37.03 MB / 0.7163 GB, free: 4.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3358/0.511, allocations: 8.315 MB / 0.7244 GB, free: 11.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008322/0.5194, allocations: 173.6 kB / 0.7246 GB, free: 11.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007036/0.5265, allocations: 1.765 MB / 0.7263 GB, free: 11.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02262/0.5492, allocations: 6.223 MB / 0.7324 GB, free: 11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004068/0.5533, allocations: 0.6633 MB / 0.733 GB, free: 10.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009033/0.5624, allocations: 4.851 MB / 0.7377 GB, free: 9.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008798/0.5712, allocations: 4.14 MB / 0.7418 GB, free: 8.172 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.5746, allocations: 1.237 MB / 0.743 GB, free: 7.727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004672/0.5794, allocations: 2.047 MB / 0.745 GB, free: 7.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.5809, allocations: 152.8 kB / 0.7451 GB, free: 7.031 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.5845, allocations: 0.7257 MB / 0.7458 GB, free: 6.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003214/0.5878, allocations: 1.667 MB / 0.7475 GB, free: 6.246 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.5899, allocations: 0.8127 MB / 0.7483 GB, free: 6.047 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008897/0.5989, allocations: 5.143 MB / 0.7533 GB, free: 3.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.5989, allocations: 1.125 kB / 0.7533 GB, free: 3.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5989, allocations: 0 / 0.7533 GB, free: 3.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003277/0.5993, allocations: 4 kB / 0.7533 GB, free: 3.277 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: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01358/0.6129, allocations: 3.928 MB / 0.7571 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.613, allocations: 9.109 kB / 0.7571 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/0.6285, allocations: 2.265 MB / 0.7593 GB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009069/0.6377, allocations: 2.37 MB / 0.7617 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004957/0.6382, allocations: 243.7 kB / 0.7619 GB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/0.6406, allocations: 321.1 kB / 0.7622 GB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04398/0.6847, allocations: 10.05 MB / 0.772 GB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002908/0.685, allocations: 45.97 kB / 0.7721 GB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001996/0.6871, allocations: 154.5 kB / 0.7722 GB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007755/0.6949, allocations: 1.88 MB / 0.774 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04078/0.7357, allocations: 8.015 MB / 0.7819 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/0.8373, allocations: 38.79 MB / 0.8197 GB, free: 4.184 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01917/0.8565, allocations: 3.07 MB / 0.8227 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004168/0.8608, allocations: 0.9977 MB / 0.8237 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01853/0.8794, allocations: 5.132 MB / 0.8287 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.849e-05/0.8795, allocations: 51.16 kB / 0.8288 GB, free: 10.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 7.965e-06/0.8795, allocations: 2.297 kB / 0.8288 GB, free: 10.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.04424/0.9238, allocations: 8.918 MB / 0.8375 GB, free: 1.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.924, allocations: 151.3 kB / 0.8376 GB, free: 1.336 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/0.935, allocations: 4.01 MB / 0.8416 GB, free: 13.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003545/0.9354, allocations: 49.7 kB / 0.8416 GB, free: 13.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003958/0.9394, allocations: 3.144 MB / 0.8447 GB, free: 10.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.9406, allocations: 0.5944 MB / 0.8452 GB, free: 9.531 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007605/0.9413, allocations: 120 kB / 0.8454 GB, free: 9.414 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005578/0.9419, allocations: 0.5506 MB / 0.8459 GB, free: 8.855 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005587/0.9475, allocations: 1.597 MB / 0.8475 GB, free: 7.254 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009435/0.957, allocations: 5.427 MB / 0.8528 GB, free: 15.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007997/0.9651, allocations: 2.886 MB / 0.8556 GB, free: 13.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/0.9652, allocations: 36 kB / 0.8556 GB, free: 12.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02105/0.9863, allocations: 6.749 MB / 0.8622 GB, free: 6.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.9865, allocations: 64 kB / 0.8623 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002277/0.9867, allocations: 136 kB / 0.8624 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.987, allocations: 200 kB / 0.8626 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009056/0.9961, allocations: 1.404 MB / 0.864 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000382/0.9965, allocations: 271.2 kB / 0.8642 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006542/1.003, allocations: 291.6 kB / 0.8645 GB, free: 3.883 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/1.005, allocations: 377.6 kB / 0.8649 GB, free: 3.516 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 755 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006334/1.011, allocations: 2.001 MB / 0.8668 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000989/1.012, allocations: 343.8 kB / 0.8671 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/1.016, allocations: 1.254 MB / 0.8684 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/1.016, allocations: 7.969 kB / 0.8684 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.016, allocations: 0 / 0.8684 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.018, allocations: 0.5199 MB / 0.8689 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.019, allocations: 22.73 kB / 0.8689 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.021, allocations: 59.94 kB / 0.869 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.022, allocations: 64.91 kB / 0.869 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0059/1.028, allocations: 1.869 MB / 0.8708 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007464/1.035, allocations: 3.013 MB / 0.8738 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001869/1.037, allocations: 0.6754 MB / 0.8744 GB, free: 9.641 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007428/1.044, allocations: 2.484 MB / 0.8769 GB, free: 7.145 MB / 474.7 MB Notification: Performance of Backend: time 3.026e-06/1.045, allocations: 0 / 0.8769 GB, free: 7.145 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0118/1.056, allocations: 3.332 MB / 0.8801 GB, free: 3.852 MB / 474.7 MB Notification: Performance of SimCode: time 0.02698/1.083, allocations: 10.27 MB / 0.8901 GB, free: 9.523 MB / 490.7 MB Notification: Performance of Templates: time 0.4663/1.55, allocations: 33.16 MB / 0.9225 GB, free: 164 MB / 490.7 MB