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.001057/0.001057, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001331/0.001331, allocations: 192.6 kB / 16.25 MB, free: 6.156 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.542/1.542, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.3189/0.3189, allocations: 37.97 MB / 307.4 MB, free: 10.05 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.001643/0.001643, allocations: 66.34 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1378, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.2744/0.4122, allocations: 50.96 MB / 482.2 MB, free: 25.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02676/0.4391, allocations: 10.6 MB / 492.8 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01473/0.4538, allocations: 219.1 kB / 493 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005224/0.4592, allocations: 2.772 MB / 495.7 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005884/0.4651, allocations: 1.96 MB / 497.7 MB, free: 16.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.4673, allocations: 0.8704 MB / 498.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007739/0.4751, allocations: 5.486 MB / 0.4922 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006519/0.4817, allocations: 4.235 MB / 0.4964 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00517/0.4869, allocations: 1.862 MB / 0.4982 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007155/0.4941, allocations: 2.882 MB / 0.501 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003194/0.4973, allocations: 385.2 kB / 0.5014 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006123/0.5035, allocations: 1.235 MB / 0.5026 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006141/0.5096, allocations: 2.339 MB / 0.5049 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009263/0.5189, allocations: 2.645 MB / 0.5075 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.019/0.538, allocations: 7.768 MB / 0.515 GB, free: 3.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.538, allocations: 3.984 kB / 0.515 GB, free: 3.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.538, allocations: 0 / 0.515 GB, free: 3.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004663/0.5385, allocations: 0 / 0.515 GB, free: 3.844 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.0219/0.5604, allocations: 5.888 MB / 0.5208 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.5605, allocations: 11.45 kB / 0.5208 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.5717, allocations: 2.286 MB / 0.523 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007648/0.5794, allocations: 2.956 MB / 0.5259 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.5798, allocations: 287.7 kB / 0.5262 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002967/0.5828, allocations: 0.6085 MB / 0.5268 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0327/0.6155, allocations: 12.1 MB / 0.5386 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003226/0.6158, allocations: 59.52 kB / 0.5387 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001994/0.6179, allocations: 179.8 kB / 0.5388 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003954/0.6218, allocations: 2.131 MB / 0.5409 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0276/0.6495, allocations: 10.74 MB / 0.5514 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08129/0.7308, allocations: 47.83 MB / 0.5981 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/0.7465, allocations: 5.38 MB / 0.6034 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004417/0.751, allocations: 2.512 MB / 0.6058 GB, free: 7.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02271/0.7737, allocations: 12.3 MB / 0.6178 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/0.7738, allocations: 67.8 kB / 0.6179 GB, free: 10.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=219): time 9.378e-06/0.7738, allocations: 0 / 0.6179 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=258): time 0.3096/1.083, allocations: 25.31 MB / 0.6426 GB, free: 145.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003204/1.087, allocations: 4.834 MB / 0.6473 GB, free: 140.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007834/1.095, allocations: 4.563 MB / 0.6518 GB, free: 139.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.096, allocations: 63.36 kB / 0.6519 GB, free: 139 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00212/1.098, allocations: 3.528 MB / 0.6553 GB, free: 136.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/1.1, allocations: 1.024 MB / 0.6563 GB, free: 135.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002227/1.102, allocations: 1.535 MB / 0.6578 GB, free: 134.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.052e-05/1.102, allocations: 304.2 kB / 0.6581 GB, free: 134.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/1.107, allocations: 3.282 MB / 0.6613 GB, free: 133.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00803/1.115, allocations: 7.59 MB / 0.6687 GB, free: 126.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/1.131, allocations: 11.49 MB / 0.6799 GB, free: 117.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003769/1.132, allocations: 43.81 kB / 0.68 GB, free: 117.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.05729/1.189, allocations: 16.29 MB / 0.6959 GB, free: 113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004372/1.19, allocations: 69.72 kB / 0.6959 GB, free: 113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03223/1.222, allocations: 9.588 MB / 0.7053 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02795/1.25, allocations: 6.691 MB / 0.7118 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005859/1.256, allocations: 1.712 MB / 0.7135 GB, free: 100.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0298/1.286, allocations: 25.62 MB / 0.7385 GB, free: 73.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009429/1.295, allocations: 0.6631 MB / 0.7392 GB, free: 72.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00247/1.298, allocations: 459.9 kB / 0.7396 GB, free: 72.25 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.007788/1.305, allocations: 2.355 MB / 0.7419 GB, free: 69.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/1.307, allocations: 418.6 kB / 0.7423 GB, free: 69.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/1.322, allocations: 7.283 MB / 0.7494 GB, free: 62.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01378/1.336, allocations: 6.656 MB / 0.7559 GB, free: 55.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.198e-05/1.336, allocations: 13.31 kB / 0.7559 GB, free: 55.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.9e-05/1.336, allocations: 15.89 kB / 0.756 GB, free: 55.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03962/1.376, allocations: 15.61 MB / 0.7712 GB, free: 39.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.72e-05/1.376, allocations: 4 kB / 0.7712 GB, free: 39.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.378, allocations: 448.1 kB / 0.7716 GB, free: 39.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009506/1.387, allocations: 3.413 MB / 0.775 GB, free: 35.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008442/1.388, allocations: 83.88 kB / 0.775 GB, free: 35.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/1.408, allocations: 20.53 MB / 0.7951 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002926/1.411, allocations: 4.695 MB / 0.7997 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.273/1.684, allocations: 10.85 MB / 0.8103 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/1.686, allocations: 480.8 kB / 0.8107 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001454/1.687, allocations: 65.42 kB / 0.8108 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003151/1.69, allocations: 300.7 kB / 0.8111 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008237/1.691, allocations: 211.1 kB / 0.8113 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/1.691, allocations: 80.59 kB / 0.8114 GB, free: 130 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004657/1.696, allocations: 2.844 MB / 0.8141 GB, free: 129.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.696, allocations: 0 / 0.8141 GB, free: 129.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01111/1.707, allocations: 1.599 MB / 0.8157 GB, free: 129.8 MB / 494.1 MB 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.001105/1.708, allocations: 222.7 kB / 0.8159 GB, free: 129.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02171/1.73, allocations: 11.82 MB / 0.8274 GB, free: 126.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.73, allocations: 3.031 kB / 0.8275 GB, free: 126.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009225/1.739, allocations: 4.907 MB / 0.8322 GB, free: 124.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005635/1.745, allocations: 0.5574 MB / 0.8328 GB, free: 124.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/1.773, allocations: 15.76 MB / 0.8482 GB, free: 115.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007508/1.78, allocations: 3.709 MB / 0.8518 GB, free: 114.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007388/1.788, allocations: 2.237 MB / 0.854 GB, free: 114.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.789, allocations: 303 kB / 0.8543 GB, free: 114.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.79, allocations: 0 / 0.8543 GB, free: 114.1 MB / 494.1 MB Notification: Performance of Templates: time 0.107/1.897, allocations: 69.13 MB / 0.9218 GB, free: 62.24 MB / 494.1 MB 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)