Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.004791/0.004791, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001072/0.001072, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.198/0.198, allocations: 38 MB / 307.9 MB, free: 5.977 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.1. 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.00135/0.00135, allocations: 72.28 kB / 433 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 56.47 MB / 489.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01374/0.1307, allocations: 11.44 MB / 0.4892 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009078/0.1398, allocations: 4.035 MB / 0.4931 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.1422, allocations: 71.75 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005415/0.1476, allocations: 2.495 MB / 0.4956 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006628/0.1543, allocations: 1.875 MB / 0.4974 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.1566, allocations: 0.7878 MB / 0.4982 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008414/0.165, allocations: 4.457 MB / 0.5026 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006517/0.1716, allocations: 3.343 MB / 0.5058 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0039/0.1755, allocations: 1.573 MB / 0.5074 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00414/0.1797, allocations: 2.231 MB / 0.5095 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.1812, allocations: 336 kB / 0.5099 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.1842, allocations: 0.9754 MB / 0.5108 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002961/0.1872, allocations: 1.948 MB / 0.5127 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3204/0.5076, allocations: 2.25 MB / 0.5149 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01666/0.5244, allocations: 6.871 MB / 0.5216 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.5244, allocations: 0 / 0.5216 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5244, allocations: 0 / 0.5216 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003777/0.5248, allocations: 0.7031 kB / 0.5216 GB, free: 11.01 MB / 398.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.01941/0.5442, allocations: 4.835 MB / 0.5264 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.5443, allocations: 13.45 kB / 0.5264 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009239/0.5536, allocations: 1.947 MB / 0.5283 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007914/0.5615, allocations: 2.489 MB / 0.5307 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/0.5619, allocations: 250.3 kB / 0.5309 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/0.5636, allocations: 331.3 kB / 0.5313 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02695/0.5906, allocations: 10.21 MB / 0.5412 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/0.5908, allocations: 39.88 kB / 0.5413 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00061/0.5914, allocations: 161.6 kB / 0.5414 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003017/0.5944, allocations: 1.905 MB / 0.5433 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.6124, allocations: 8.14 MB / 0.5512 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05572/0.6682, allocations: 39.26 MB / 0.5896 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009012/0.6772, allocations: 3.281 MB / 0.5928 GB, free: 5.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.6791, allocations: 1.056 MB / 0.5938 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009812/0.6889, allocations: 5.907 MB / 0.5996 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.689, allocations: 61.83 kB / 0.5996 GB, free: 14.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.107e-06/0.689, allocations: 0 / 0.5996 GB, free: 14.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02316/0.7122, allocations: 9.469 MB / 0.6089 GB, free: 4.758 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.7123, allocations: 204.7 kB / 0.6091 GB, free: 4.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006295/0.7186, allocations: 4.067 MB / 0.613 GB, free: 436 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004124/0.7191, allocations: 49.7 kB / 0.6131 GB, free: 380 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00256/0.7216, allocations: 3.181 MB / 0.6162 GB, free: 13.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008861/0.7225, allocations: 0.647 MB / 0.6168 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/0.7242, allocations: 1.21 MB / 0.618 GB, free: 11.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7243, allocations: 321 kB / 0.6183 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/0.7272, allocations: 1.648 MB / 0.6199 GB, free: 9.383 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005631/0.7329, allocations: 5.524 MB / 0.6253 GB, free: 1.988 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009628/0.7425, allocations: 7.78 MB / 0.6329 GB, free: 8.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/0.7427, allocations: 40 kB / 0.633 GB, free: 8.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01432/0.7571, allocations: 6.907 MB / 0.6397 GB, free: 2.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.393e-05/0.7572, allocations: 64 kB / 0.6398 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/0.7573, allocations: 136 kB / 0.6399 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.7575, allocations: 184.8 kB / 0.6401 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/0.7624, allocations: 1.431 MB / 0.6415 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002224/0.7627, allocations: 267 kB / 0.6417 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004746/0.7674, allocations: 295.6 kB / 0.642 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008821/0.7683, allocations: 374.4 kB / 0.6424 GB, free: 15.28 MB / 0.4981 GB 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.004213/0.7726, allocations: 2.06 MB / 0.6444 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007579/0.7733, allocations: 343.5 kB / 0.6447 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.7759, allocations: 1.341 MB / 0.646 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/0.776, allocations: 19.98 kB / 0.646 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.776, allocations: 5.125 kB / 0.646 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.776, allocations: 7.984 kB / 0.646 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.7866, allocations: 5.827 MB / 0.6517 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.7867, allocations: 16 kB / 0.6517 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.7878, allocations: 283.5 kB / 0.652 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.158e-05/0.7878, allocations: 24 kB / 0.652 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-05/0.7879, allocations: 44 kB / 0.6521 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.678e-05/0.788, allocations: 35.86 kB / 0.6521 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.262e-05/0.788, allocations: 31.25 kB / 0.6521 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004071/0.7921, allocations: 3.272 MB / 0.6553 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/0.7939, allocations: 0.5238 MB / 0.6559 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004681/0.7944, allocations: 55.5 kB / 0.6559 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.7956, allocations: 63.95 kB / 0.656 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.7958, allocations: 147.4 kB / 0.6561 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.7959, allocations: 64 kB / 0.6562 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005288/0.8012, allocations: 2.527 MB / 0.6586 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8012, allocations: 0 / 0.6586 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008846/0.8101, allocations: 0.9062 MB / 0.6595 GB, free: 13.12 MB / 0.5137 GB 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.0005774/0.8107, allocations: 211.3 kB / 0.6597 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007111/0.8178, allocations: 3.825 MB / 0.6635 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/0.8178, allocations: 4 kB / 0.6635 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.8189, allocations: 0.7527 MB / 0.6642 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003311/0.8222, allocations: 471.3 kB / 0.6646 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.8382, allocations: 8.749 MB / 0.6732 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003399/0.8417, allocations: 3.177 MB / 0.6763 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004182/0.8459, allocations: 1.82 MB / 0.6781 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/0.8465, allocations: 243.4 kB / 0.6783 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of SimCode: time 1.342e-06/0.8465, allocations: 0 / 0.6783 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of Templates: time 0.05879/0.9053, allocations: 25.33 MB / 0.703 GB, free: 432 kB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1)