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.009615/0.009615, allocations: 101.8 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.001818/0.001818, allocations: 184.9 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.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3379/0.3379, allocations: 38.01 MB / 307.9 MB, free: 10.21 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.001507/0.001507, allocations: 75.89 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3306, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0107/0.3413, allocations: 11.44 MB / 0.4892 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.3504, allocations: 4.052 MB / 0.4931 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.3531, allocations: 65.25 kB / 0.4932 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004746/0.3579, allocations: 2.493 MB / 0.4956 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006155/0.3641, allocations: 1.921 MB / 0.4975 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.3665, allocations: 0.7764 MB / 0.4983 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007711/0.3742, allocations: 4.468 MB / 0.5026 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005631/0.3799, allocations: 3.35 MB / 0.5059 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.3834, allocations: 1.575 MB / 0.5074 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003829/0.3872, allocations: 2.233 MB / 0.5096 GB, free: 236 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.3888, allocations: 333.2 kB / 0.5099 GB, free: 236 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/0.3921, allocations: 0.9807 MB / 0.5109 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003027/0.3951, allocations: 1.947 MB / 0.5128 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003673/0.3988, allocations: 2.254 MB / 0.515 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009951/0.4088, allocations: 6.878 MB / 0.5217 GB, free: 6.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4088, allocations: 0 / 0.5217 GB, free: 6.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4088, allocations: 3.938 kB / 0.5217 GB, free: 6.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002214/0.409, allocations: 0 / 0.5217 GB, free: 6.652 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.009768/0.4188, allocations: 4.83 MB / 0.5264 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4189, allocations: 19.88 kB / 0.5264 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007014/0.4259, allocations: 1.941 MB / 0.5283 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005197/0.4311, allocations: 2.477 MB / 0.5308 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.4314, allocations: 270.4 kB / 0.531 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006519/0.432, allocations: 323.8 kB / 0.5313 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/0.4493, allocations: 10.21 MB / 0.5413 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.4495, allocations: 43.59 kB / 0.5413 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/0.45, allocations: 171.8 kB / 0.5415 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002657/0.4526, allocations: 1.9 MB / 0.5434 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/0.4699, allocations: 8.15 MB / 0.5513 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05424/0.5242, allocations: 39.26 MB / 0.5896 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008246/0.5325, allocations: 3.281 MB / 0.5929 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.5343, allocations: 1.045 MB / 0.5939 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009537/0.5439, allocations: 5.91 MB / 0.5996 GB, free: 4.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/0.544, allocations: 59.5 kB / 0.5997 GB, free: 4.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 9.047e-06/0.544, allocations: 0 / 0.5997 GB, free: 4.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02526/0.5693, allocations: 9.487 MB / 0.609 GB, free: 10.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.5694, allocations: 200.9 kB / 0.6092 GB, free: 10.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008983/0.5784, allocations: 4.067 MB / 0.6131 GB, free: 6.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002681/0.5787, allocations: 45.7 kB / 0.6132 GB, free: 6.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003391/0.5821, allocations: 3.194 MB / 0.6163 GB, free: 2.859 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008958/0.5831, allocations: 0.6327 MB / 0.6169 GB, free: 2.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00208/0.5852, allocations: 1.218 MB / 0.6181 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5853, allocations: 305.1 kB / 0.6184 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/0.5882, allocations: 1.652 MB / 0.62 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006042/0.5943, allocations: 5.526 MB / 0.6254 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3134/0.9077, allocations: 7.776 MB / 0.633 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/0.9079, allocations: 38.81 kB / 0.633 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01447/0.9224, allocations: 6.904 MB / 0.6398 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.9225, allocations: 63.22 kB / 0.6398 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/0.9228, allocations: 137 kB / 0.64 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002807/0.923, allocations: 181.4 kB / 0.6401 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004781/0.9278, allocations: 1.431 MB / 0.6415 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002984/0.9281, allocations: 269.1 kB / 0.6418 GB, free: 117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/0.9326, allocations: 301.5 kB / 0.6421 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008227/0.9335, allocations: 376 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.003678/0.9372, allocations: 2.042 MB / 0.6444 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/0.9378, allocations: 348.3 kB / 0.6448 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.9401, allocations: 1.338 MB / 0.6461 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/0.9402, allocations: 21.09 kB / 0.6461 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.9402, allocations: 1.469 kB / 0.6461 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.9402, allocations: 12.25 kB / 0.6461 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.9515, allocations: 5.823 MB / 0.6518 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/0.9516, allocations: 16.53 kB / 0.6518 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.9526, allocations: 281.8 kB / 0.6521 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.899e-05/0.9527, allocations: 25.27 kB / 0.6521 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/0.9528, allocations: 51.16 kB / 0.6521 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-05/0.9528, allocations: 35.94 kB / 0.6522 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.311e-05/0.9529, allocations: 27.06 kB / 0.6522 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/0.9574, allocations: 3.279 MB / 0.6554 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/0.9589, allocations: 0.5228 MB / 0.6559 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004114/0.9593, allocations: 47.48 kB / 0.656 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.9605, allocations: 62.23 kB / 0.656 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.9607, allocations: 147.3 kB / 0.6562 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.9608, allocations: 73.11 kB / 0.6562 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004612/0.9654, allocations: 2.524 MB / 0.6587 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9654, allocations: 4 kB / 0.6587 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006326/0.9718, allocations: 0.9069 MB / 0.6596 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.0004303/0.9722, allocations: 199.7 kB / 0.6598 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006946/0.9792, allocations: 3.824 MB / 0.6635 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.684e-05/0.9792, allocations: 3.156 kB / 0.6635 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.9804, allocations: 0.7522 MB / 0.6643 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.003133/0.9836, allocations: 470.9 kB / 0.6647 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.9968, allocations: 8.753 MB / 0.6732 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00305/0.9999, allocations: 3.182 MB / 0.6764 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004498/1.004, allocations: 1.816 MB / 0.6781 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006099/1.005, allocations: 249.7 kB / 0.6784 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/1.005, allocations: 0 / 0.6784 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.04709/1.052, allocations: 25.33 MB / 0.7031 GB, free: 77.27 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)