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.006964/0.006963, allocations: 95.61 kB / 15.73 MB, free: 6.055 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.001375/0.001375, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3343/0.3343, allocations: 38 MB / 307.9 MB, free: 10.11 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.001483/0.001483, allocations: 63.91 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3578, allocations: 56.48 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01182/0.3696, allocations: 11.43 MB / 0.4892 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.38, allocations: 4.054 MB / 0.4931 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.3835, allocations: 69.16 kB / 0.4932 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005446/0.389, allocations: 2.484 MB / 0.4956 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00659/0.3956, allocations: 1.877 MB / 0.4974 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.3978, allocations: 0.7834 MB / 0.4982 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007099/0.4049, allocations: 4.456 MB / 0.5026 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005396/0.4104, allocations: 3.346 MB / 0.5058 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/0.4139, allocations: 1.578 MB / 0.5074 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.4183, allocations: 2.231 MB / 0.5096 GB, free: 260 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002161/0.4204, allocations: 333.7 kB / 0.5099 GB, free: 260 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/0.4247, allocations: 0.976 MB / 0.5108 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004253/0.429, allocations: 1.942 MB / 0.5127 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007982/0.437, allocations: 2.25 MB / 0.5149 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.4522, allocations: 6.9 MB / 0.5217 GB, free: 6.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.4522, allocations: 0 / 0.5217 GB, free: 6.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4522, allocations: 3.938 kB / 0.5217 GB, free: 6.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003182/0.4526, allocations: 0 / 0.5217 GB, free: 6.711 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.01349/0.4661, allocations: 4.963 MB / 0.5265 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4661, allocations: 15.89 kB / 0.5265 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008181/0.4743, allocations: 1.979 MB / 0.5285 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007238/0.4816, allocations: 2.498 MB / 0.5309 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.4819, allocations: 254.4 kB / 0.5311 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.483, allocations: 323.9 kB / 0.5314 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/0.5105, allocations: 10.21 MB / 0.5414 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003559/0.5109, allocations: 47.58 kB / 0.5415 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/0.5124, allocations: 159.9 kB / 0.5416 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004699/0.5171, allocations: 1.908 MB / 0.5435 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/0.542, allocations: 8.15 MB / 0.5514 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05054/0.5925, allocations: 39.34 MB / 0.5899 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008217/0.6008, allocations: 3.273 MB / 0.593 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.6024, allocations: 1.046 MB / 0.5941 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008812/0.6112, allocations: 5.927 MB / 0.5999 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/0.6113, allocations: 55.44 kB / 0.5999 GB, free: 3.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 8.236e-06/0.6113, allocations: 4 kB / 0.5999 GB, free: 3.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02312/0.6345, allocations: 9.704 MB / 0.6094 GB, free: 10.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.6346, allocations: 200.9 kB / 0.6096 GB, free: 9.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005874/0.6405, allocations: 4.084 MB / 0.6136 GB, free: 5.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002343/0.6408, allocations: 53.7 kB / 0.6136 GB, free: 5.676 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002214/0.643, allocations: 3.314 MB / 0.6169 GB, free: 2.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006897/0.6437, allocations: 0.663 MB / 0.6175 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/0.6452, allocations: 1.219 MB / 0.6187 GB, free: 440 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.6453, allocations: 304.9 kB / 0.619 GB, free: 136 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.6479, allocations: 1.656 MB / 0.6206 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005202/0.6531, allocations: 5.526 MB / 0.626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3203/0.9734, allocations: 7.776 MB / 0.6336 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/0.9736, allocations: 39.38 kB / 0.6336 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01807/0.9917, allocations: 6.915 MB / 0.6404 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.9919, allocations: 63.97 kB / 0.6404 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003794/0.9923, allocations: 137.5 kB / 0.6406 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.9927, allocations: 180.7 kB / 0.6407 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005578/0.9983, allocations: 1.439 MB / 0.6422 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003663/0.9987, allocations: 268.6 kB / 0.6424 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/1.004, allocations: 299 kB / 0.6427 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.005, allocations: 381.8 kB / 0.6431 GB, free: 117.3 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.005102/1.01, allocations: 2.041 MB / 0.6451 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008629/1.011, allocations: 367.6 kB / 0.6454 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/1.014, allocations: 1.341 MB / 0.6467 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/1.014, allocations: 17.03 kB / 0.6467 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.014, allocations: 4.938 kB / 0.6467 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/1.014, allocations: 8.594 kB / 0.6467 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.024, allocations: 5.824 MB / 0.6524 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/1.024, allocations: 21.25 kB / 0.6525 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.025, allocations: 286.3 kB / 0.6527 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.268e-05/1.025, allocations: 27.64 kB / 0.6528 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-05/1.026, allocations: 45.28 kB / 0.6528 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.481e-05/1.026, allocations: 35.44 kB / 0.6528 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.948e-05/1.026, allocations: 27.41 kB / 0.6529 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/1.03, allocations: 3.301 MB / 0.6561 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.031, allocations: 0.5478 MB / 0.6566 GB, free: 111 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004381/1.032, allocations: 52.08 kB / 0.6567 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/1.033, allocations: 61.73 kB / 0.6567 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/1.033, allocations: 150.2 kB / 0.6569 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.033, allocations: 66.69 kB / 0.6569 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004527/1.038, allocations: 2.533 MB / 0.6594 GB, free: 110 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.038, allocations: 0 / 0.6594 GB, free: 110 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005699/1.043, allocations: 0.9041 MB / 0.6603 GB, free: 109.9 MB / 0.4981 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.0004498/1.044, allocations: 199.5 kB / 0.6605 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006704/1.051, allocations: 3.832 MB / 0.6642 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-05/1.051, allocations: 6.312 kB / 0.6642 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.052, allocations: 0.7449 MB / 0.665 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/1.055, allocations: 464.2 kB / 0.6654 GB, free: 108 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.069, allocations: 8.89 MB / 0.6741 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/1.071, allocations: 3.182 MB / 0.6772 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003889/1.075, allocations: 1.817 MB / 0.679 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/1.076, allocations: 248.5 kB / 0.6792 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.382e-06/1.076, allocations: 0 / 0.6792 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.04821/1.124, allocations: 25.33 MB / 0.7039 GB, free: 77.49 MB / 0.4981 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)