Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 91.69 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01008/0.01008, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3415/0.3415, allocations: 40 MB / 310.7 MB, free: 9.945 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005482/0.0005482, allocations: 12 kB / 379.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 57.96 MB / 437.4 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3026/0.4368, allocations: 41.71 MB / 479.1 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02654/0.4634, allocations: 9.187 MB / 488.3 MB, free: 22.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0103/0.4738, allocations: 183.5 kB / 488.5 MB, free: 22.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.4755, allocations: 445.5 kB / 488.9 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004948/0.4805, allocations: 1.761 MB / 490.7 MB, free: 21.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.4823, allocations: 0.7185 MB / 491.4 MB, free: 21.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007396/0.4897, allocations: 6.17 MB / 497.6 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006067/0.4958, allocations: 4.556 MB / 0.4904 GB, free: 17.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.4983, allocations: 1.184 MB / 0.4915 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004776/0.5031, allocations: 2.114 MB / 0.4936 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009727/0.5041, allocations: 153.8 kB / 0.4937 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.507, allocations: 0.8444 MB / 0.4946 GB, free: 16.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.5099, allocations: 1.757 MB / 0.4963 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003461/0.5134, allocations: 2.041 MB / 0.4983 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.5256, allocations: 6.386 MB / 0.5045 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.5257, allocations: 0 / 0.5045 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5257, allocations: 3.938 kB / 0.5045 GB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003168/0.526, allocations: 0 / 0.5045 GB, free: 12.32 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01211/0.5381, allocations: 3.964 MB / 0.5084 GB, free: 9.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5382, allocations: 10 kB / 0.5084 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008679/0.5469, allocations: 1.997 MB / 0.5103 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007341/0.5543, allocations: 2.44 MB / 0.5127 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.5546, allocations: 264.2 kB / 0.513 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/0.557, allocations: 325.2 kB / 0.5133 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/0.5793, allocations: 10.22 MB / 0.5233 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001735/0.5795, allocations: 47.53 kB / 0.5233 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005336/0.5801, allocations: 163.8 kB / 0.5235 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002992/0.5831, allocations: 1.904 MB / 0.5253 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.6021, allocations: 8.162 MB / 0.5333 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05769/0.6598, allocations: 39.46 MB / 0.5718 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00856/0.6684, allocations: 3.27 MB / 0.575 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.6703, allocations: 1.057 MB / 0.576 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009795/0.6801, allocations: 5.912 MB / 0.5818 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.6802, allocations: 55.44 kB / 0.5819 GB, free: 1.176 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 8.576e-06/0.6803, allocations: 3.938 kB / 0.5819 GB, free: 1.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.02911/0.7094, allocations: 9.47 MB / 0.5911 GB, free: 7.594 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.7095, allocations: 149.5 kB / 0.5913 GB, free: 7.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008558/0.7181, allocations: 4.067 MB / 0.5952 GB, free: 3.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004039/0.7186, allocations: 49.7 kB / 0.5953 GB, free: 3.266 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002966/0.7216, allocations: 3.19 MB / 0.5984 GB, free: 28 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.7227, allocations: 0.6329 MB / 0.599 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008371/0.7236, allocations: 0.5191 MB / 0.5995 GB, free: 14.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.7237, allocations: 305.1 kB / 0.5998 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003003/0.7268, allocations: 1.648 MB / 0.6014 GB, free: 12.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005611/0.7324, allocations: 5.521 MB / 0.6068 GB, free: 5.449 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/0.7436, allocations: 7.783 MB / 0.6144 GB, free: 11.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/0.7438, allocations: 40 kB / 0.6145 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01637/0.7602, allocations: 6.905 MB / 0.6212 GB, free: 4.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.7604, allocations: 64 kB / 0.6213 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003116/0.7608, allocations: 136 kB / 0.6214 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.7611, allocations: 192 kB / 0.6216 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005181/0.7663, allocations: 1.431 MB / 0.623 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003673/0.7667, allocations: 270.9 kB / 0.6232 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/0.7721, allocations: 299.5 kB / 0.6235 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009417/0.7731, allocations: 380 kB / 0.6239 GB, free: 2.047 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (775): * Single equations (assignments): 772 * Array equations: 3 * 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.3054/1.079, allocations: 2.035 MB / 0.6259 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.08, allocations: 345.6 kB / 0.6262 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/1.083, allocations: 1.341 MB / 0.6275 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/1.083, allocations: 14.94 kB / 0.6275 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.083, allocations: 6.172 kB / 0.6275 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/1.083, allocations: 12.69 kB / 0.6275 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/1.095, allocations: 5.833 MB / 0.6332 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.039e-05/1.095, allocations: 16.78 kB / 0.6332 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/1.096, allocations: 282 kB / 0.6335 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-05/1.096, allocations: 22.72 kB / 0.6335 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/1.096, allocations: 48.22 kB / 0.6336 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.025e-05/1.096, allocations: 33.05 kB / 0.6336 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.807e-05/1.096, allocations: 33.34 kB / 0.6336 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/1.101, allocations: 3.271 MB / 0.6368 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.102, allocations: 0.5296 MB / 0.6374 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/1.102, allocations: 55.62 kB / 0.6374 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.104, allocations: 63.84 kB / 0.6375 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.104, allocations: 151.3 kB / 0.6376 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.104, allocations: 65.8 kB / 0.6377 GB, free: 140.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004656/1.109, allocations: 2.524 MB / 0.6401 GB, free: 139.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.109, allocations: 2.719 kB / 0.6401 GB, free: 139.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006507/1.115, allocations: 0.9074 MB / 0.641 GB, free: 139.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (145): * Single equations (assignments): 142 * Array equations: 3 * 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.000545/1.116, allocations: 198.2 kB / 0.6412 GB, free: 139.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006957/1.123, allocations: 3.777 MB / 0.6449 GB, free: 138.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/1.123, allocations: 0 / 0.6449 GB, free: 138.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/1.124, allocations: 0.7515 MB / 0.6456 GB, free: 137.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01316/1.137, allocations: 461.8 kB / 0.6461 GB, free: 137.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/1.16, allocations: 10.92 MB / 0.6567 GB, free: 131.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007057/1.167, allocations: 3.183 MB / 0.6599 GB, free: 130.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006297/1.173, allocations: 1.814 MB / 0.6616 GB, free: 129.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/1.174, allocations: 241.1 kB / 0.6619 GB, free: 129.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.253e-06/1.174, allocations: 0 / 0.6619 GB, free: 129.9 MB / 494.1 MB Notification: Performance of Templates: time 0.07011/1.244, allocations: 27.52 MB / 0.6887 GB, free: 117.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) Environment - environmentSimulation: