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.001153/0.001153, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001406/0.001406, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.451/1.451, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.3291/0.3291, allocations: 39.93 MB / 309.4 MB, free: 9.312 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.001511/0.001511, allocations: 76.27 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1479, allocations: 56.88 MB / 434 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3317/0.4796, allocations: 42.87 MB / 476.9 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02313/0.5028, allocations: 9.16 MB / 486 MB, free: 22.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01073/0.5136, allocations: 181.9 kB / 486.2 MB, free: 22.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004789/0.5185, allocations: 2.384 MB / 488.6 MB, free: 21.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006254/0.5248, allocations: 1.756 MB / 490.3 MB, free: 21.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.527, allocations: 0.7282 MB / 491.1 MB, free: 20.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00606/0.5331, allocations: 4.478 MB / 495.5 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004649/0.5378, allocations: 3.53 MB / 499.1 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.5414, allocations: 1.604 MB / 0.4889 GB, free: 17.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005715/0.5471, allocations: 2.455 MB / 0.4913 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002796/0.55, allocations: 333.8 kB / 0.4917 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/0.555, allocations: 0.9896 MB / 0.4926 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003767/0.5588, allocations: 1.979 MB / 0.4946 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00659/0.5655, allocations: 2.28 MB / 0.4968 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.5791, allocations: 6.687 MB / 0.5033 GB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5792, allocations: 0 / 0.5033 GB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5792, allocations: 1.062 kB / 0.5033 GB, free: 11.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004266/0.5796, allocations: 0 / 0.5033 GB, free: 11.33 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.01968/0.5993, allocations: 4.845 MB / 0.5081 GB, free: 8.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.5994, allocations: 16.89 kB / 0.5081 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009367/0.6088, allocations: 1.936 MB / 0.51 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00678/0.6156, allocations: 2.435 MB / 0.5123 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/0.6159, allocations: 255.9 kB / 0.5126 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.6177, allocations: 329.3 kB / 0.5129 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.6396, allocations: 10.2 MB / 0.5229 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.6399, allocations: 55.41 kB / 0.5229 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006974/0.6406, allocations: 167.8 kB / 0.5231 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003219/0.6438, allocations: 1.904 MB / 0.5249 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.6631, allocations: 8.14 MB / 0.5329 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05584/0.719, allocations: 39.44 MB / 0.5714 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008286/0.7273, allocations: 3.272 MB / 0.5746 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.7289, allocations: 1.055 MB / 0.5756 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00975/0.7387, allocations: 5.909 MB / 0.5814 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.7388, allocations: 43.56 kB / 0.5814 GB, free: 15.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.889e-06/0.7388, allocations: 0 / 0.5814 GB, free: 15.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02274/0.7616, allocations: 9.491 MB / 0.5907 GB, free: 5.684 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.7617, allocations: 145.5 kB / 0.5908 GB, free: 5.508 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005828/0.7675, allocations: 4.071 MB / 0.5948 GB, free: 1.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.7677, allocations: 49.7 kB / 0.5949 GB, free: 1.355 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00293/0.7707, allocations: 3.183 MB / 0.598 GB, free: 14.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008458/0.7715, allocations: 0.6366 MB / 0.5986 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/0.7732, allocations: 1.21 MB / 0.5998 GB, free: 12.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7733, allocations: 309.1 kB / 0.6001 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/0.7757, allocations: 1.652 MB / 0.6017 GB, free: 10.29 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004893/0.7807, allocations: 5.513 MB / 0.6071 GB, free: 2.848 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00984/0.7905, allocations: 7.788 MB / 0.6147 GB, free: 9.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/0.7907, allocations: 40.28 kB / 0.6147 GB, free: 9.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01446/0.8052, allocations: 6.896 MB / 0.6214 GB, free: 2.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.36e-05/0.8053, allocations: 64.09 kB / 0.6215 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/0.8055, allocations: 144 kB / 0.6216 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.8057, allocations: 180 kB / 0.6218 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/0.8098, allocations: 1.435 MB / 0.6232 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002149/0.8101, allocations: 270.9 kB / 0.6235 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.353/1.163, allocations: 286.8 kB / 0.6237 GB, free: 112.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.165, allocations: 385.1 kB / 0.6241 GB, free: 112.6 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.004765/1.169, allocations: 2.037 MB / 0.6261 GB, free: 112.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009868/1.17, allocations: 350.2 kB / 0.6264 GB, free: 112.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/1.173, allocations: 1.345 MB / 0.6277 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-05/1.173, allocations: 20.28 kB / 0.6278 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/1.173, allocations: 2 kB / 0.6278 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/1.173, allocations: 6.406 kB / 0.6278 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.184, allocations: 5.822 MB / 0.6335 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-05/1.184, allocations: 21.44 kB / 0.6335 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/1.185, allocations: 282.7 kB / 0.6338 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/1.185, allocations: 28.92 kB / 0.6338 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.185, allocations: 53.41 kB / 0.6338 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.788e-05/1.185, allocations: 36.61 kB / 0.6339 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.162e-05/1.185, allocations: 29.03 kB / 0.6339 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/1.189, allocations: 3.268 MB / 0.6371 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.19, allocations: 0.525 MB / 0.6376 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/1.191, allocations: 53.5 kB / 0.6376 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.192, allocations: 61.09 kB / 0.6377 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/1.192, allocations: 146.2 kB / 0.6378 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.493e-05/1.192, allocations: 70.44 kB / 0.6379 GB, free: 110.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004466/1.196, allocations: 2.526 MB / 0.6404 GB, free: 109.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.197, allocations: 2.844 kB / 0.6404 GB, free: 109.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005821/1.202, allocations: 0.9098 MB / 0.6413 GB, free: 109.8 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.0004927/1.203, allocations: 199.8 kB / 0.6415 GB, free: 109.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007337/1.21, allocations: 3.991 MB / 0.6454 GB, free: 108.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.81e-05/1.21, allocations: 3.438 kB / 0.6454 GB, free: 108.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/1.211, allocations: 0.7438 MB / 0.6461 GB, free: 108.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/1.216, allocations: 473.5 kB / 0.6465 GB, free: 108.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/1.235, allocations: 10.83 MB / 0.6571 GB, free: 102.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00429/1.239, allocations: 3.183 MB / 0.6602 GB, free: 100.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005736/1.245, allocations: 1.82 MB / 0.662 GB, free: 100.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006883/1.245, allocations: 240.2 kB / 0.6622 GB, free: 100.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.984e-06/1.245, allocations: 0 / 0.6622 GB, free: 100.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05452/1.3, allocations: 28.72 MB / 0.6903 GB, free: 83.82 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.makefile (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)