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.007227/0.007227, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001524/0.001524, allocations: 190.5 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3563/0.3563, allocations: 37.99 MB / 307.9 MB, free: 10.03 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.001469/0.001469, allocations: 71.84 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3727, allocations: 56.47 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01345/0.3862, allocations: 12.52 MB / 0.4902 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.3986, allocations: 4.332 MB / 0.4945 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00417/0.4028, allocations: 75.75 kB / 0.4945 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007679/0.4106, allocations: 2.897 MB / 0.4974 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009544/0.4202, allocations: 2.097 MB / 0.4994 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.4231, allocations: 0.9306 MB / 0.5003 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.4338, allocations: 5.468 MB / 0.5057 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006751/0.4406, allocations: 4.02 MB / 0.5096 GB, free: 32 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005091/0.4457, allocations: 1.841 MB / 0.5114 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006256/0.452, allocations: 2.596 MB / 0.5139 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002091/0.4542, allocations: 384.4 kB / 0.5143 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005826/0.46, allocations: 1.23 MB / 0.5155 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00426/0.4643, allocations: 2.327 MB / 0.5177 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004664/0.469, allocations: 2.614 MB / 0.5203 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.4801, allocations: 7.98 MB / 0.5281 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4802, allocations: 0 / 0.5281 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4802, allocations: 4 kB / 0.5281 GB, free: 88 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003314/0.4805, allocations: 0 / 0.5281 GB, free: 88 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.01576/0.4963, allocations: 5.879 MB / 0.5338 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.4963, allocations: 11.89 kB / 0.5339 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00934/0.5057, allocations: 2.291 MB / 0.5361 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007376/0.5131, allocations: 2.996 MB / 0.539 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.5135, allocations: 291.5 kB / 0.5393 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/0.5159, allocations: 0.6046 MB / 0.5399 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.539, allocations: 12.11 MB / 0.5517 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001792/0.5392, allocations: 59.47 kB / 0.5518 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006268/0.5398, allocations: 175.8 kB / 0.5519 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003304/0.5431, allocations: 2.135 MB / 0.554 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02514/0.5683, allocations: 10.75 MB / 0.5645 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07287/0.6412, allocations: 47.61 MB / 0.611 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/0.6566, allocations: 5.384 MB / 0.6163 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003871/0.6605, allocations: 2.494 MB / 0.6187 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02389/0.6844, allocations: 12.32 MB / 0.6307 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.963e-05/0.6845, allocations: 63.86 kB / 0.6308 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=219): time 5.019e-06/0.6845, allocations: 0 / 0.6308 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=258): time 0.38/1.065, allocations: 25.1 MB / 0.6553 GB, free: 120 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002763/1.067, allocations: 4.882 MB / 0.6601 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008005/1.075, allocations: 4.565 MB / 0.6645 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009207/1.076, allocations: 66.53 kB / 0.6646 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002346/1.079, allocations: 3.526 MB / 0.668 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.08, allocations: 1.023 MB / 0.669 GB, free: 110 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/1.083, allocations: 1.546 MB / 0.6706 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.51e-05/1.083, allocations: 305 kB / 0.6708 GB, free: 109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005341/1.088, allocations: 3.275 MB / 0.674 GB, free: 108 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007959/1.096, allocations: 7.606 MB / 0.6815 GB, free: 101 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/1.108, allocations: 11.48 MB / 0.6927 GB, free: 91.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001747/1.108, allocations: 46.41 kB / 0.6927 GB, free: 91.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.04553/1.154, allocations: 16.19 MB / 0.7085 GB, free: 76.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002234/1.154, allocations: 72 kB / 0.7086 GB, free: 76.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03093/1.185, allocations: 9.465 MB / 0.7179 GB, free: 67.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0296/1.215, allocations: 6.651 MB / 0.7244 GB, free: 60.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005979/1.221, allocations: 1.716 MB / 0.726 GB, free: 58.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02926/1.25, allocations: 24.17 MB / 0.7496 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00917/1.259, allocations: 0.6591 MB / 0.7503 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002171/1.261, allocations: 463.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.006436/1.268, allocations: 2.351 MB / 0.753 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/1.27, allocations: 418.7 kB / 0.7534 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/1.285, allocations: 7.186 MB / 0.7604 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01324/1.298, allocations: 6.557 MB / 0.7668 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-05/1.298, allocations: 8 kB / 0.7668 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-05/1.298, allocations: 11.95 kB / 0.7669 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03189/1.33, allocations: 15.49 MB / 0.782 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/1.33, allocations: 8.125 kB / 0.782 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/1.332, allocations: 451.3 kB / 0.7824 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/1.344, allocations: 3.377 MB / 0.7857 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008731/1.345, allocations: 83.86 kB / 0.7858 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02428/1.369, allocations: 19.14 MB / 0.8045 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003898/1.373, allocations: 4.692 MB / 0.8091 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02182/1.395, allocations: 10.75 MB / 0.8196 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.397, allocations: 487.8 kB / 0.82 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.398, allocations: 59.98 kB / 0.8201 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/1.401, allocations: 295.5 kB / 0.8204 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007087/1.401, allocations: 209.5 kB / 0.8206 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.402, allocations: 91.72 kB / 0.8207 GB, free: 7.012 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005057/1.407, allocations: 2.847 MB / 0.8234 GB, free: 4.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.407, allocations: 0 / 0.8234 GB, free: 4.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008997/1.416, allocations: 1.591 MB / 0.825 GB, free: 2.578 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.000886/1.417, allocations: 215.3 kB / 0.8252 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02/1.437, allocations: 9.843 MB / 0.8348 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.437, allocations: 8.188 kB / 0.8348 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009905/1.447, allocations: 4.8 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.005703/1.452, allocations: 0.5649 MB / 0.8401 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.475, allocations: 13.31 MB / 0.8531 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/1.479, allocations: 3.715 MB / 0.8567 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.2728/1.752, allocations: 2.241 MB / 0.8589 GB, free: 181 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.753, allocations: 309.2 kB / 0.8592 GB, free: 181 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/1.753, allocations: 0 / 0.8592 GB, free: 181 MB / 0.5762 GB Notification: Performance of Templates: time 0.1165/1.87, allocations: 65.11 MB / 0.9228 GB, free: 152.9 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)