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.001437/0.001437, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.661/1.661, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.3517/0.3517, allocations: 38 MB / 307.8 MB, free: 10.06 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.001572/0.001572, allocations: 71.91 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1535, allocations: 56.46 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01228/0.1658, allocations: 11.42 MB / 443.1 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.1759, allocations: 4.051 MB / 447.2 MB, free: 7.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.179, allocations: 67.81 kB / 447.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005669/0.1848, allocations: 2.491 MB / 449.7 MB, free: 4.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006513/0.1913, allocations: 1.867 MB / 451.6 MB, free: 2.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.1936, allocations: 0.7955 MB / 452.4 MB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2861/0.4797, allocations: 4.448 MB / 456.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004588/0.4843, allocations: 3.339 MB / 460.2 MB, free: 36.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.4878, allocations: 1.575 MB / 461.8 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00404/0.4919, allocations: 2.236 MB / 464 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.4931, allocations: 333.9 kB / 464.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.4956, allocations: 0.9704 MB / 465.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.4976, allocations: 1.947 MB / 467.2 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.5003, allocations: 2.252 MB / 469.5 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.5074, allocations: 6.637 MB / 476.1 MB, free: 31.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5075, allocations: 4 kB / 476.1 MB, free: 31.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5075, allocations: 0 / 476.1 MB, free: 31.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002741/0.5078, allocations: 1.219 kB / 476.1 MB, free: 31.9 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.01104/0.5188, allocations: 4.839 MB / 481 MB, free: 29.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.5189, allocations: 16.97 kB / 481 MB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008473/0.5274, allocations: 1.951 MB / 482.9 MB, free: 28.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007911/0.5353, allocations: 2.434 MB / 485.4 MB, free: 27.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/0.5357, allocations: 255.4 kB / 485.6 MB, free: 27.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.5375, allocations: 333.3 kB / 486 MB, free: 27.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/0.5611, allocations: 10.19 MB / 496.1 MB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.5613, allocations: 51.09 kB / 496.2 MB, free: 23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004819/0.5618, allocations: 154.9 kB / 496.3 MB, free: 22.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003836/0.5657, allocations: 1.906 MB / 498.3 MB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/0.5876, allocations: 8.16 MB / 0.4945 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05124/0.6389, allocations: 39.43 MB / 0.533 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/0.6475, allocations: 3.273 MB / 0.5362 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.6492, allocations: 1.062 MB / 0.5373 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009981/0.6592, allocations: 5.912 MB / 0.5431 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.6593, allocations: 50.66 kB / 0.5431 GB, free: 6.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.689e-06/0.6594, allocations: 0 / 0.5431 GB, free: 6.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.02623/0.6856, allocations: 9.487 MB / 0.5524 GB, free: 12.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.6857, allocations: 141.5 kB / 0.5525 GB, free: 12.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006255/0.692, allocations: 4.067 MB / 0.5565 GB, free: 8.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000325/0.6924, allocations: 45.7 kB / 0.5565 GB, free: 8.195 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002447/0.6948, allocations: 3.189 MB / 0.5596 GB, free: 5.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008588/0.6957, allocations: 0.6334 MB / 0.5603 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.6973, allocations: 1.218 MB / 0.5614 GB, free: 3.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.6974, allocations: 309.1 kB / 0.5617 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002676/0.7001, allocations: 1.652 MB / 0.5633 GB, free: 1.191 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005584/0.7057, allocations: 5.506 MB / 0.5687 GB, free: 9.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.7163, allocations: 7.788 MB / 0.5763 GB, free: 236 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001865/0.7165, allocations: 40 kB / 0.5764 GB, free: 196 kB / 446.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01615/0.7327, allocations: 6.913 MB / 0.5831 GB, free: 9.273 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.7329, allocations: 64 kB / 0.5832 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002444/0.7331, allocations: 136 kB / 0.5833 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.7334, allocations: 180.8 kB / 0.5835 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005108/0.7385, allocations: 1.435 MB / 0.5849 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000301/0.7388, allocations: 267 kB / 0.5851 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006275/0.7451, allocations: 299.5 kB / 0.5854 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/0.7467, allocations: 372 kB / 0.5858 GB, free: 6.547 MB / 462.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.005797/0.7525, allocations: 2.047 MB / 0.5878 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/0.7538, allocations: 347.5 kB / 0.5881 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/0.7573, allocations: 1.341 MB / 0.5894 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/0.7574, allocations: 16 kB / 0.5894 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.7574, allocations: 4 kB / 0.5894 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.7574, allocations: 7.984 kB / 0.5894 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.7719, allocations: 5.829 MB / 0.5951 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-05/0.772, allocations: 23.94 kB / 0.5952 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.7731, allocations: 276.5 kB / 0.5954 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.71e-05/0.7731, allocations: 28 kB / 0.5955 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.7733, allocations: 52 kB / 0.5955 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-05/0.7733, allocations: 35.86 kB / 0.5955 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-05/0.7733, allocations: 27.88 kB / 0.5956 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00441/0.7778, allocations: 3.285 MB / 0.5988 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/0.7796, allocations: 0.5122 MB / 0.5993 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009811/0.7806, allocations: 51.98 kB / 0.5993 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/0.7825, allocations: 63.95 kB / 0.5994 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.7827, allocations: 150.7 kB / 0.5995 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.7829, allocations: 68 kB / 0.5996 GB, free: 7.828 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006111/0.789, allocations: 2.523 MB / 0.6021 GB, free: 5.293 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.789, allocations: 0 / 0.6021 GB, free: 5.293 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007102/0.7961, allocations: 0.914 MB / 0.6029 GB, free: 4.379 MB / 478.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.0006473/0.7968, allocations: 195.3 kB / 0.6031 GB, free: 4.184 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00826/0.8051, allocations: 3.987 MB / 0.607 GB, free: 232 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/0.8051, allocations: 0 / 0.607 GB, free: 232 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.8065, allocations: 0.7489 MB / 0.6078 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004749/0.8113, allocations: 471.4 kB / 0.6082 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/0.8333, allocations: 8.857 MB / 0.6169 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004953/0.8383, allocations: 3.189 MB / 0.62 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005043/0.8433, allocations: 1.814 MB / 0.6217 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000639/0.844, allocations: 243.4 kB / 0.622 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of SimCode: time 1.674e-06/0.844, allocations: 0 / 0.622 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of Templates: time 0.283/1.127, allocations: 28.74 MB / 0.65 GB, free: 140.3 MB / 494.1 MB 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)