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.006892/0.006891, allocations: 103.2 kB / 15.73 MB, free: 6.043 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.00148/0.00148, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3609/0.3609, allocations: 38 MB / 307.9 MB, free: 10.33 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.001484/0.001484, allocations: 71.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3708, allocations: 56.47 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01304/0.3839, allocations: 11.44 MB / 0.4892 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0094/0.3934, allocations: 4.045 MB / 0.4931 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.396, allocations: 64.06 kB / 0.4932 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00483/0.4009, allocations: 2.492 MB / 0.4956 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005981/0.4069, allocations: 1.884 MB / 0.4974 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.4089, allocations: 0.777 MB / 0.4982 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007283/0.4162, allocations: 4.463 MB / 0.5026 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004806/0.421, allocations: 3.34 MB / 0.5058 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.4249, allocations: 1.582 MB / 0.5074 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/0.4294, allocations: 2.232 MB / 0.5096 GB, free: 156 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.431, allocations: 334 kB / 0.5099 GB, free: 156 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.4341, allocations: 0.976 MB / 0.5108 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002843/0.437, allocations: 1.952 MB / 0.5127 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004939/0.4419, allocations: 2.254 MB / 0.5149 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009173/0.4511, allocations: 6.883 MB / 0.5217 GB, free: 6.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4512, allocations: 0 / 0.5217 GB, free: 6.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4512, allocations: 0 / 0.5217 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001963/0.4514, allocations: 0 / 0.5217 GB, free: 6.695 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.01008/0.4615, allocations: 4.834 MB / 0.5264 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.4616, allocations: 15.83 kB / 0.5264 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006883/0.4685, allocations: 1.949 MB / 0.5283 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005148/0.4736, allocations: 2.477 MB / 0.5307 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.4738, allocations: 262.4 kB / 0.531 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005471/0.4744, allocations: 335.7 kB / 0.5313 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.4915, allocations: 10.2 MB / 0.5412 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.4916, allocations: 47.59 kB / 0.5413 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/0.492, allocations: 155.9 kB / 0.5414 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002652/0.4946, allocations: 1.911 MB / 0.5433 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/0.5104, allocations: 8.142 MB / 0.5513 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05524/0.5657, allocations: 39.27 MB / 0.5896 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008082/0.5739, allocations: 3.277 MB / 0.5928 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.5755, allocations: 1.041 MB / 0.5938 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009709/0.5852, allocations: 5.917 MB / 0.5996 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.5853, allocations: 55.44 kB / 0.5997 GB, free: 4.121 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 6.372e-06/0.5853, allocations: 4 kB / 0.5997 GB, free: 4.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.0255/0.6108, allocations: 9.472 MB / 0.6089 GB, free: 10.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.611, allocations: 200.9 kB / 0.6091 GB, free: 10.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006517/0.6175, allocations: 4.071 MB / 0.6131 GB, free: 6.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/0.6179, allocations: 49.7 kB / 0.6131 GB, free: 6.141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003119/0.621, allocations: 3.194 MB / 0.6162 GB, free: 2.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009982/0.6221, allocations: 0.6291 MB / 0.6169 GB, free: 2.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/0.6237, allocations: 1.218 MB / 0.618 GB, free: 1.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6239, allocations: 305.1 kB / 0.6183 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/0.6264, allocations: 1.652 MB / 0.6199 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/0.6321, allocations: 5.526 MB / 0.6253 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3591/0.9912, allocations: 7.778 MB / 0.6329 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001913/0.9914, allocations: 43.47 kB / 0.633 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01658/1.008, allocations: 6.899 MB / 0.6397 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.008, allocations: 63.44 kB / 0.6398 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003332/1.009, allocations: 141.7 kB / 0.6399 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/1.009, allocations: 180.8 kB / 0.6401 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/1.014, allocations: 1.434 MB / 0.6415 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000276/1.014, allocations: 268.9 kB / 0.6417 GB, free: 117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/1.018, allocations: 299.1 kB / 0.642 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006625/1.019, allocations: 379.2 kB / 0.6424 GB, free: 116.9 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.00388/1.023, allocations: 2.035 MB / 0.6444 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008661/1.024, allocations: 346.2 kB / 0.6447 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/1.026, allocations: 1.343 MB / 0.646 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/1.026, allocations: 17.91 kB / 0.646 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.026, allocations: 1.25 kB / 0.646 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/1.026, allocations: 10.91 kB / 0.646 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.038, allocations: 5.82 MB / 0.6517 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/1.038, allocations: 18.39 kB / 0.6517 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/1.039, allocations: 287.2 kB / 0.652 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.472e-05/1.039, allocations: 23.78 kB / 0.652 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.039, allocations: 47.19 kB / 0.6521 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.209e-05/1.039, allocations: 36.45 kB / 0.6521 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.636e-05/1.039, allocations: 27.16 kB / 0.6521 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/1.044, allocations: 3.282 MB / 0.6554 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.046, allocations: 0.5291 MB / 0.6559 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/1.046, allocations: 52.98 kB / 0.6559 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.047, allocations: 58.31 kB / 0.656 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.047, allocations: 150.7 kB / 0.6561 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.048, allocations: 66.67 kB / 0.6562 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004702/1.052, allocations: 2.526 MB / 0.6587 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.21e-07/1.052, allocations: 0 / 0.6587 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006966/1.059, allocations: 0.9097 MB / 0.6595 GB, free: 109.5 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.0005537/1.06, allocations: 190.2 kB / 0.6597 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007056/1.067, allocations: 3.833 MB / 0.6635 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.157e-05/1.067, allocations: 3.281 kB / 0.6635 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/1.068, allocations: 0.7433 MB / 0.6642 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/1.071, allocations: 480.6 kB / 0.6647 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/1.083, allocations: 8.749 MB / 0.6732 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003323/1.087, allocations: 3.18 MB / 0.6763 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003568/1.09, allocations: 1.825 MB / 0.6781 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/1.091, allocations: 238.1 kB / 0.6783 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/1.091, allocations: 8.594 kB / 0.6783 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.04694/1.138, allocations: 24.91 MB / 0.7026 GB, free: 77.79 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)