Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006712/0.006711, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001655/0.001655, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.52/1.52, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.3465/0.3465, 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.001421/0.001421, allocations: 67.89 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3395, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01385/0.3534, allocations: 12.51 MB / 0.4902 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.3652, allocations: 4.343 MB / 0.4945 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/0.3695, allocations: 75.91 kB / 0.4945 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006894/0.3764, allocations: 2.886 MB / 0.4973 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008641/0.3851, allocations: 2.098 MB / 0.4994 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.3886, allocations: 0.9354 MB / 0.5003 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01253/0.4011, allocations: 5.468 MB / 0.5056 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007821/0.409, allocations: 4.02 MB / 0.5096 GB, free: 44 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005506/0.4146, allocations: 1.846 MB / 0.5114 GB, free: 15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006994/0.4216, allocations: 2.596 MB / 0.5139 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003475/0.4251, allocations: 383.2 kB / 0.5143 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/0.4307, allocations: 1.226 MB / 0.5155 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004536/0.4353, allocations: 2.307 MB / 0.5177 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007172/0.4425, allocations: 2.606 MB / 0.5203 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.4575, allocations: 7.988 MB / 0.5281 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4575, allocations: 0 / 0.5281 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.4575, allocations: 0 / 0.5281 GB, free: 116 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003986/0.4579, allocations: 4 kB / 0.5281 GB, free: 112 kB / 398.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.01862/0.4766, allocations: 5.875 MB / 0.5338 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.4766, allocations: 15.83 kB / 0.5338 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.487, allocations: 2.291 MB / 0.5361 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007743/0.4948, allocations: 3 MB / 0.539 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.4951, allocations: 291.5 kB / 0.5393 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002389/0.4975, allocations: 0.6007 MB / 0.5399 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/0.523, allocations: 12.11 MB / 0.5517 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.5232, allocations: 51.53 kB / 0.5517 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000651/0.5239, allocations: 175.8 kB / 0.5519 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/0.5278, allocations: 2.143 MB / 0.554 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02592/0.5538, allocations: 10.74 MB / 0.5645 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07395/0.6277, allocations: 47.61 MB / 0.611 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/0.6439, allocations: 5.392 MB / 0.6163 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004162/0.6481, allocations: 2.5 MB / 0.6187 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02336/0.6715, allocations: 12.31 MB / 0.6307 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.49e-05/0.6717, allocations: 63.86 kB / 0.6308 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=219): time 6.122e-06/0.6717, allocations: 0 / 0.6308 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=258): time 0.373/1.045, allocations: 25.11 MB / 0.6553 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002694/1.047, allocations: 4.883 MB / 0.6601 GB, free: 115 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008241/1.056, allocations: 4.571 MB / 0.6645 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000963/1.057, allocations: 66.67 kB / 0.6646 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002593/1.059, allocations: 3.524 MB / 0.668 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00184/1.061, allocations: 1.017 MB / 0.669 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003075/1.064, allocations: 1.539 MB / 0.6705 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/1.064, allocations: 301.1 kB / 0.6708 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005921/1.07, allocations: 3.283 MB / 0.674 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009546/1.08, allocations: 7.6 MB / 0.6814 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/1.094, allocations: 11.49 MB / 0.6927 GB, free: 91.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003366/1.094, allocations: 42.22 kB / 0.6927 GB, free: 91.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.04946/1.144, allocations: 16.2 MB / 0.7085 GB, free: 76.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002211/1.144, allocations: 68 kB / 0.7086 GB, free: 76.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0315/1.175, allocations: 9.464 MB / 0.7178 GB, free: 67.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03053/1.206, allocations: 6.653 MB / 0.7243 GB, free: 60.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005937/1.212, allocations: 1.716 MB / 0.726 GB, free: 58.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03015/1.242, allocations: 24.17 MB / 0.7496 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/1.252, allocations: 0.6665 MB / 0.7503 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002411/1.255, allocations: 459.9 kB / 0.7507 GB, free: 32.58 MB / 0.4981 GB 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 (923): * Single equations (assignments): 902 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 4 * 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): 4 systems {(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.008087/1.263, allocations: 2.352 MB / 0.753 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001954/1.265, allocations: 414.7 kB / 0.7534 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01722/1.282, allocations: 7.183 MB / 0.7604 GB, free: 22.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01537/1.298, allocations: 6.553 MB / 0.7668 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.409e-05/1.298, allocations: 11.94 kB / 0.7668 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.967e-05/1.298, allocations: 15.95 kB / 0.7668 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03368/1.331, allocations: 15.49 MB / 0.782 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.951e-05/1.332, allocations: 7.938 kB / 0.782 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002302/1.334, allocations: 452 kB / 0.7824 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01115/1.345, allocations: 3.371 MB / 0.7857 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009555/1.346, allocations: 95.77 kB / 0.7858 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02368/1.37, allocations: 19.14 MB / 0.8045 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003546/1.373, allocations: 4.692 MB / 0.8091 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/1.395, allocations: 10.75 MB / 0.8196 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/1.397, allocations: 479.7 kB / 0.82 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/1.398, allocations: 59.98 kB / 0.8201 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003174/1.402, allocations: 295.5 kB / 0.8204 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007699/1.402, allocations: 205.5 kB / 0.8205 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.403, allocations: 87.89 kB / 0.8206 GB, free: 7.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005237/1.408, allocations: 2.843 MB / 0.8234 GB, free: 4.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.408, allocations: 3.938 kB / 0.8234 GB, free: 4.168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008758/1.417, allocations: 1.593 MB / 0.825 GB, free: 2.582 MB / 0.545 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 (195): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 4 * 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): 4 systems {(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.0007924/1.418, allocations: 221.5 kB / 0.8252 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01956/1.437, allocations: 9.851 MB / 0.8348 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.437, allocations: 0 / 0.8348 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01068/1.448, allocations: 4.801 MB / 0.8395 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005359/1.453, allocations: 0.5564 MB / 0.84 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/1.479, allocations: 13.31 MB / 0.853 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005536/1.484, allocations: 3.718 MB / 0.8567 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.2855/1.77, allocations: 2.237 MB / 0.8588 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/1.772, allocations: 309.4 kB / 0.8591 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.393e-06/1.772, allocations: 0.9688 kB / 0.8591 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1418/1.914, allocations: 64.37 MB / 0.922 GB, free: 153.6 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)