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.0009184/0.0009184, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009039/0.0009039, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3963/0.3963, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.001118/0.001118, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 57.53 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.3101/0.4606, allocations: 43.58 MB / 477.5 MB, free: 30.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03052/0.4912, allocations: 10.6 MB / 488.1 MB, free: 23.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/0.5032, allocations: 225.1 kB / 488.3 MB, free: 23.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.5134, allocations: 2.143 MB / 490.5 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02584/0.5392, allocations: 6.327 MB / 496.8 MB, free: 19.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004838/0.5441, allocations: 0.7922 MB / 497.6 MB, free: 19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008615/0.5527, allocations: 3.061 MB / 0.4889 GB, free: 17.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/0.5636, allocations: 4.688 MB / 0.4935 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.5683, allocations: 1.277 MB / 0.4947 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004723/0.5731, allocations: 1.779 MB / 0.4965 GB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002063/0.5751, allocations: 173.3 kB / 0.4966 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004307/0.5795, allocations: 0.8961 MB / 0.4975 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.5843, allocations: 1.922 MB / 0.4994 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003546/0.5879, allocations: 0.9589 MB / 0.5003 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.6005, allocations: 6.105 MB / 0.5063 GB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.6006, allocations: 0 / 0.5063 GB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.6006, allocations: 3.938 kB / 0.5063 GB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005105/0.6011, allocations: 1 kB / 0.5063 GB, free: 11.04 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.02023/0.6213, allocations: 5.006 MB / 0.5112 GB, free: 7.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.6214, allocations: 9.281 kB / 0.5112 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/0.6346, allocations: 2.686 MB / 0.5138 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.6454, allocations: 3.496 MB / 0.5172 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005131/0.646, allocations: 288.4 kB / 0.5175 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004107/0.6501, allocations: 0.5999 MB / 0.5181 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03511/0.6852, allocations: 12.24 MB / 0.53 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003679/0.6856, allocations: 51.53 kB / 0.5301 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00231/0.688, allocations: 183.8 kB / 0.5303 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004812/0.6928, allocations: 2.131 MB / 0.5324 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02907/0.7219, allocations: 10.9 MB / 0.543 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08353/0.8055, allocations: 47.98 MB / 0.5898 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/0.8217, allocations: 5.411 MB / 0.5951 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02301/0.8448, allocations: 12.4 MB / 0.6072 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/0.8449, allocations: 51.88 kB / 0.6073 GB, free: 7.637 MB / 478.1 MB Notification: Performance of pre-optimization done (n=219): time 6.151e-06/0.8449, allocations: 0 / 0.6073 GB, free: 7.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=258): time 0.3414/1.186, allocations: 25.4 MB / 0.6321 GB, free: 146.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002901/1.189, allocations: 4.604 MB / 0.6366 GB, free: 142.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.2, allocations: 4.913 MB / 0.6414 GB, free: 142.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.201, allocations: 64.03 kB / 0.6415 GB, free: 142.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002845/1.204, allocations: 3.542 MB / 0.6449 GB, free: 140.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001916/1.205, allocations: 1.016 MB / 0.6459 GB, free: 139.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000552/1.206, allocations: 151.8 kB / 0.6461 GB, free: 139.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003506/1.206, allocations: 0.6245 MB / 0.6467 GB, free: 139.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004958/1.211, allocations: 3.295 MB / 0.6499 GB, free: 138.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008437/1.22, allocations: 7.576 MB / 0.6573 GB, free: 131.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009044/1.229, allocations: 4.845 MB / 0.662 GB, free: 129.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002018/1.229, allocations: 41.53 kB / 0.662 GB, free: 129.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=991) (initialization): time 0.05471/1.284, allocations: 16.1 MB / 0.6778 GB, free: 125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003306/1.284, allocations: 69.84 kB / 0.6778 GB, free: 125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03416/1.318, allocations: 9.418 MB / 0.687 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03035/1.349, allocations: 6.656 MB / 0.6935 GB, free: 120.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006534/1.355, allocations: 1.701 MB / 0.6952 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0283/1.384, allocations: 21.89 MB / 0.7166 GB, free: 97.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009801/1.394, allocations: 0.659 MB / 0.7172 GB, free: 96.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/1.396, allocations: 459.9 kB / 0.7177 GB, free: 96.47 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 (912): * Single equations (assignments): 892 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009867/1.406, allocations: 2.342 MB / 0.7199 GB, free: 94.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001986/1.408, allocations: 422.6 kB / 0.7203 GB, free: 93.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/1.425, allocations: 7.104 MB / 0.7273 GB, free: 86.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01382/1.439, allocations: 6.442 MB / 0.7336 GB, free: 80.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.586e-05/1.439, allocations: 8 kB / 0.7336 GB, free: 80.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.85e-05/1.439, allocations: 15.95 kB / 0.7336 GB, free: 80.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04014/1.479, allocations: 15.44 MB / 0.7487 GB, free: 64.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/1.479, allocations: 5.812 kB / 0.7487 GB, free: 64.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.481, allocations: 455.3 kB / 0.7491 GB, free: 64.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009922/1.491, allocations: 3.348 MB / 0.7524 GB, free: 60.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009519/1.492, allocations: 79.94 kB / 0.7525 GB, free: 60.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/1.509, allocations: 16.82 MB / 0.7689 GB, free: 42.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002331/1.511, allocations: 4.458 MB / 0.7732 GB, free: 38.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02145/1.533, allocations: 11.32 MB / 0.7843 GB, free: 26.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/1.535, allocations: 0.4995 MB / 0.7848 GB, free: 25.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00181/1.537, allocations: 67.97 kB / 0.7849 GB, free: 25.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003985/1.541, allocations: 295.5 kB / 0.7851 GB, free: 25.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008773/1.542, allocations: 204.9 kB / 0.7853 GB, free: 25.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004226/1.542, allocations: 83.95 kB / 0.7854 GB, free: 25.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007151/1.549, allocations: 3.098 MB / 0.7884 GB, free: 22.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.549, allocations: 0 / 0.7884 GB, free: 22.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01211/1.562, allocations: 1.618 MB / 0.79 GB, free: 20.54 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 (196): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001456/1.563, allocations: 234.6 kB / 0.7902 GB, free: 20.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01887/1.582, allocations: 9.568 MB / 0.7996 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/1.582, allocations: 3.938 kB / 0.7996 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009404/1.591, allocations: 4.644 MB / 0.8041 GB, free: 5.738 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005233/1.597, allocations: 0.5287 MB / 0.8046 GB, free: 5.215 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2848/1.882, allocations: 15.54 MB / 0.8198 GB, free: 128.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00437/1.886, allocations: 3.809 MB / 0.8235 GB, free: 127.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005552/1.892, allocations: 2.258 MB / 0.8257 GB, free: 127.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008782/1.892, allocations: 317.2 kB / 0.826 GB, free: 127.6 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/1.892, allocations: 0 / 0.826 GB, free: 127.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1142/2.007, allocations: 64.14 MB / 0.8887 GB, free: 94.96 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: