Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001526, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001905/0.001905, allocations: 190.3 kB / 16.25 MB, free: 6.629 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.585/1.585, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3588/0.3588, allocations: 39.93 MB / 309.4 MB, free: 9.32 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.2. 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.001411/0.001412, allocations: 71.91 kB / 377.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 56.89 MB / 434 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.3143/0.465, allocations: 50.96 MB / 485 MB, free: 23.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03192/0.497, allocations: 10.6 MB / 495.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0162/0.5132, allocations: 219.8 kB / 495.8 MB, free: 16.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006122/0.5195, allocations: 2.764 MB / 498.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008687/0.5283, allocations: 1.962 MB / 0.4888 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.5312, allocations: 0.8745 MB / 0.4896 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.5415, allocations: 5.48 MB / 0.495 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00938/0.5509, allocations: 4.239 MB / 0.4991 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005677/0.5566, allocations: 1.869 MB / 0.5009 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006798/0.5635, allocations: 2.886 MB / 0.5037 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002756/0.5663, allocations: 384.4 kB / 0.5041 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005522/0.5718, allocations: 1.226 MB / 0.5053 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006041/0.5779, allocations: 2.343 MB / 0.5076 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009728/0.5876, allocations: 2.637 MB / 0.5102 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0179/0.6056, allocations: 7.776 MB / 0.5178 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.6056, allocations: 0 / 0.5178 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6056, allocations: 0 / 0.5178 GB, free: 1.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004863/0.6061, allocations: 1.5 kB / 0.5178 GB, free: 1.184 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02256/0.6287, allocations: 5.884 MB / 0.5235 GB, free: 13.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.6288, allocations: 15.89 kB / 0.5235 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.6396, allocations: 2.279 MB / 0.5258 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008538/0.6482, allocations: 2.949 MB / 0.5286 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/0.6486, allocations: 303.7 kB / 0.5289 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/0.652, allocations: 0.6007 MB / 0.5295 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/0.6856, allocations: 12.1 MB / 0.5413 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003558/0.6861, allocations: 63.42 kB / 0.5414 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002498/0.6886, allocations: 179.8 kB / 0.5416 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004092/0.6927, allocations: 2.135 MB / 0.5436 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02674/0.7194, allocations: 10.74 MB / 0.5541 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08592/0.8054, allocations: 47.83 MB / 0.6008 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/0.8216, allocations: 5.388 MB / 0.6061 GB, free: 6.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004526/0.8262, allocations: 2.506 MB / 0.6085 GB, free: 3.805 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02466/0.8509, allocations: 12.3 MB / 0.6206 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.596e-05/0.851, allocations: 59.88 kB / 0.6206 GB, free: 6.887 MB / 494.1 MB Notification: Performance of pre-optimization done (n=219): time 5.29e-06/0.851, allocations: 0 / 0.6206 GB, free: 6.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=258): time 0.3634/1.214, allocations: 25.31 MB / 0.6453 GB, free: 141.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002959/1.217, allocations: 4.836 MB / 0.6501 GB, free: 137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007431/1.225, allocations: 4.566 MB / 0.6545 GB, free: 135.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.226, allocations: 63.02 kB / 0.6546 GB, free: 135.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002164/1.228, allocations: 3.525 MB / 0.658 GB, free: 132.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001891/1.23, allocations: 1.021 MB / 0.659 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002859/1.233, allocations: 1.545 MB / 0.6605 GB, free: 131.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/1.233, allocations: 301.1 kB / 0.6608 GB, free: 130.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005948/1.239, allocations: 3.278 MB / 0.664 GB, free: 129.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00889/1.248, allocations: 7.594 MB / 0.6714 GB, free: 123 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01768/1.266, allocations: 11.48 MB / 0.6826 GB, free: 114 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000354/1.266, allocations: 50.56 kB / 0.6827 GB, free: 114 MB / 494.1 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.05324/1.319, allocations: 16.29 MB / 0.6986 GB, free: 109.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003229/1.32, allocations: 81.62 kB / 0.6987 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03009/1.35, allocations: 9.572 MB / 0.708 GB, free: 102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02901/1.379, allocations: 6.689 MB / 0.7146 GB, free: 95.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005837/1.385, allocations: 1.712 MB / 0.7162 GB, free: 93.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02926/1.414, allocations: 25.63 MB / 0.7413 GB, free: 66.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/1.424, allocations: 0.6551 MB / 0.7419 GB, free: 66.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002343/1.427, allocations: 463.9 kB / 0.7423 GB, free: 65.74 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 688 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[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 (922): * Single equations (assignments): 900 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 5 systems {(4,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (5,13,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007771/1.434, allocations: 2.348 MB / 0.7446 GB, free: 63.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00175/1.436, allocations: 414.7 kB / 0.745 GB, free: 62.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/1.453, allocations: 7.29 MB / 0.7522 GB, free: 55.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01377/1.467, allocations: 6.65 MB / 0.7586 GB, free: 48.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-05/1.467, allocations: 15.88 kB / 0.7587 GB, free: 48.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-05/1.467, allocations: 11.95 kB / 0.7587 GB, free: 48.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03177/1.499, allocations: 15.62 MB / 0.7739 GB, free: 33.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/1.499, allocations: 8 kB / 0.7739 GB, free: 33.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/1.501, allocations: 443.3 kB / 0.7744 GB, free: 32.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009464/1.51, allocations: 3.411 MB / 0.7777 GB, free: 29.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009004/1.511, allocations: 79.94 kB / 0.7778 GB, free: 29.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/1.53, allocations: 20.54 MB / 0.7978 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002492/1.532, allocations: 4.682 MB / 0.8024 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02198/1.554, allocations: 10.86 MB / 0.813 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/1.557, allocations: 483.6 kB / 0.8135 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.558, allocations: 71.97 kB / 0.8135 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.561, allocations: 295.5 kB / 0.8138 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007697/1.561, allocations: 209.5 kB / 0.814 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.562, allocations: 79.95 kB / 0.8141 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005823/1.568, allocations: 2.843 MB / 0.8169 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.31e-07/1.568, allocations: 0 / 0.8169 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01145/1.579, allocations: 1.6 MB / 0.8184 GB, free: 1.703 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * 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 (194): * Single equations (assignments): 178 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 5 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (5,8,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/1.58, allocations: 218.2 kB / 0.8186 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2842/1.864, allocations: 11.82 MB / 0.8302 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.864, allocations: 3.312 kB / 0.8302 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01193/1.876, allocations: 4.9 MB / 0.835 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005968/1.882, allocations: 0.5595 MB / 0.8355 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/1.919, allocations: 15.75 MB / 0.8509 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009382/1.928, allocations: 3.71 MB / 0.8545 GB, free: 135 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01058/1.939, allocations: 2.238 MB / 0.8567 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/1.941, allocations: 309.5 kB / 0.857 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/1.941, allocations: 0.75 kB / 0.857 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.1398/2.081, allocations: 69.11 MB / 0.9245 GB, free: 87.01 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)