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.00115/0.001149, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001304/0.001305, allocations: 198.5 kB / 16.14 MB, free: 6.762 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.814/1.814, allocations: 205.1 MB / 222 MB, free: 5.008 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.3665/0.3665, allocations: 37.97 MB / 307.3 MB, free: 9.945 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.00135/0.00135, allocations: 74.55 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1429, allocations: 56.46 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.2947/0.4377, allocations: 50.95 MB / 482 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02922/0.4669, allocations: 10.7 MB / 492.7 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01487/0.4819, allocations: 218.8 kB / 492.9 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005658/0.4876, allocations: 2.867 MB / 495.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007502/0.4952, allocations: 1.975 MB / 497.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.4976, allocations: 0.8601 MB / 498.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.5089, allocations: 7.544 MB / 0.4943 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008428/0.5173, allocations: 3.976 MB / 0.4981 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005596/0.523, allocations: 1.632 MB / 0.4997 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007187/0.5302, allocations: 2.765 MB / 0.5024 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002549/0.5328, allocations: 274.6 kB / 0.5027 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005482/0.5383, allocations: 1.152 MB / 0.5038 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005824/0.5442, allocations: 2.24 MB / 0.506 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.5542, allocations: 2.513 MB / 0.5085 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01674/0.571, allocations: 7.623 MB / 0.5159 GB, free: 3.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.5711, allocations: 0 / 0.5159 GB, free: 3.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5711, allocations: 1.219 kB / 0.5159 GB, free: 3.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006652/0.5718, allocations: 0 / 0.5159 GB, free: 3.512 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.02659/0.5984, allocations: 5.889 MB / 0.5217 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.504e-05/0.5985, allocations: 12.97 kB / 0.5217 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.6105, allocations: 2.289 MB / 0.5239 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009272/0.6198, allocations: 2.953 MB / 0.5268 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.6203, allocations: 287.7 kB / 0.5271 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003328/0.6237, allocations: 0.6046 MB / 0.5277 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03405/0.6577, allocations: 12.1 MB / 0.5395 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005138/0.6583, allocations: 51.52 kB / 0.5395 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002854/0.6612, allocations: 183.8 kB / 0.5397 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004023/0.6652, allocations: 2.139 MB / 0.5418 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02597/0.6912, allocations: 10.74 MB / 0.5523 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08055/0.7718, allocations: 47.83 MB / 0.599 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/0.7885, allocations: 5.395 MB / 0.6043 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004928/0.7935, allocations: 2.494 MB / 0.6067 GB, free: 6.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02474/0.8182, allocations: 12.29 MB / 0.6187 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.671e-05/0.8184, allocations: 63.81 kB / 0.6188 GB, free: 10.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=219): time 7.784e-06/0.8184, allocations: 0 / 0.6188 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=258): time 0.3583/1.177, allocations: 25.31 MB / 0.6435 GB, free: 109.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002619/1.179, allocations: 4.569 MB / 0.6479 GB, free: 105.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006596/1.186, allocations: 4.567 MB / 0.6524 GB, free: 105.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008594/1.187, allocations: 63.33 kB / 0.6525 GB, free: 105.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.189, allocations: 3.522 MB / 0.6559 GB, free: 102.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001583/1.191, allocations: 1.028 MB / 0.6569 GB, free: 101.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002877/1.194, allocations: 1.53 MB / 0.6584 GB, free: 101.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/1.194, allocations: 306.1 kB / 0.6587 GB, free: 100.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005914/1.2, allocations: 3.274 MB / 0.6619 GB, free: 99.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00784/1.207, allocations: 7.598 MB / 0.6693 GB, free: 92.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/1.223, allocations: 11.5 MB / 0.6805 GB, free: 84.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002455/1.223, allocations: 42.31 kB / 0.6806 GB, free: 84.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.05251/1.276, allocations: 16.3 MB / 0.6965 GB, free: 80.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004248/1.276, allocations: 69.86 kB / 0.6966 GB, free: 80.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03056/1.307, allocations: 9.583 MB / 0.7059 GB, free: 71.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02903/1.336, allocations: 6.674 MB / 0.7124 GB, free: 64.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006132/1.342, allocations: 1.712 MB / 0.7141 GB, free: 63.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02805/1.37, allocations: 23.51 MB / 0.7371 GB, free: 39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009582/1.38, allocations: 0.6669 MB / 0.7377 GB, free: 38.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002347/1.382, allocations: 463 kB / 0.7382 GB, free: 37.88 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.007724/1.39, allocations: 2.344 MB / 0.7405 GB, free: 35.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001764/1.392, allocations: 418.6 kB / 0.7409 GB, free: 35.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0182/1.41, allocations: 7.285 MB / 0.748 GB, free: 27.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01344/1.423, allocations: 6.657 MB / 0.7545 GB, free: 21.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-05/1.423, allocations: 8 kB / 0.7545 GB, free: 21.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/1.424, allocations: 17.7 kB / 0.7545 GB, free: 21.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03293/1.456, allocations: 15.62 MB / 0.7697 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.285e-05/1.457, allocations: 8.656 kB / 0.7698 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002171/1.459, allocations: 441.5 kB / 0.7702 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01004/1.469, allocations: 3.403 MB / 0.7735 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008542/1.47, allocations: 87.59 kB / 0.7736 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02489/1.495, allocations: 19.08 MB / 0.7922 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003986/1.499, allocations: 4.43 MB / 0.7965 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/1.524, allocations: 10.86 MB / 0.8071 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.526, allocations: 483.6 kB / 0.8076 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/1.528, allocations: 59.98 kB / 0.8077 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003796/1.531, allocations: 306.8 kB / 0.808 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/1.532, allocations: 206.1 kB / 0.8082 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004938/1.533, allocations: 79.95 kB / 0.8082 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006491/1.539, allocations: 2.843 MB / 0.811 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.12e-07/1.54, allocations: 0 / 0.811 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01083/1.55, allocations: 1.593 MB / 0.8126 GB, free: 8.113 MB / 0.5294 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.001085/1.551, allocations: 223 kB / 0.8128 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02114/1.573, allocations: 9.888 MB / 0.8224 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-05/1.573, allocations: 0 / 0.8224 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0115/1.584, allocations: 4.892 MB / 0.8272 GB, free: 8.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007374/1.592, allocations: 0.5343 MB / 0.8277 GB, free: 8.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2609/1.853, allocations: 15.73 MB / 0.8431 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005299/1.858, allocations: 3.707 MB / 0.8467 GB, free: 186.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00618/1.864, allocations: 2.242 MB / 0.8489 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.865, allocations: 313.2 kB / 0.8492 GB, free: 186.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/1.865, allocations: 0 / 0.8492 GB, free: 186.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1164/1.982, allocations: 66.14 MB / 0.9138 GB, free: 160.4 MB / 0.545 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)