Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001109/0.001109, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001736/0.001736, allocations: 172.7 kB / 15.95 MB, free: 208 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.634/1.634, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3751/0.3751, allocations: 40 MB / 310.4 MB, free: 9.914 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.2. 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.0005447/0.0005447, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.2921/0.4227, allocations: 46.16 MB / 483 MB, free: 25.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02894/0.4517, allocations: 10.16 MB / 493.1 MB, free: 19.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01436/0.4661, allocations: 217.2 kB / 493.3 MB, free: 19.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008777/0.4749, allocations: 2.377 MB / 495.7 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.024/0.499, allocations: 7.197 MB / 0.4911 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.5033, allocations: 0.8013 MB / 0.4919 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.5149, allocations: 6.042 MB / 0.4978 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/0.5259, allocations: 4.718 MB / 0.5024 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005468/0.5314, allocations: 1.529 MB / 0.5039 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00624/0.5376, allocations: 2.464 MB / 0.5063 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.5393, allocations: 174.2 kB / 0.5065 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.5431, allocations: 0.9421 MB / 0.5074 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.5469, allocations: 2.057 MB / 0.5094 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003191/0.5502, allocations: 0.9566 MB / 0.5103 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.5606, allocations: 6.068 MB / 0.5163 GB, free: 3.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5606, allocations: 0 / 0.5163 GB, free: 3.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5606, allocations: 1.375 kB / 0.5163 GB, free: 3.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005162/0.5612, allocations: 0 / 0.5163 GB, free: 3.652 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.01451/0.5757, allocations: 4.926 MB / 0.5211 GB, free: 352 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5757, allocations: 7.906 kB / 0.5211 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.5859, allocations: 2.34 MB / 0.5234 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00779/0.5937, allocations: 2.896 MB / 0.5262 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/0.5941, allocations: 291.2 kB / 0.5265 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002783/0.5969, allocations: 0.6007 MB / 0.5271 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02836/0.6252, allocations: 12.11 MB / 0.5389 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001834/0.6255, allocations: 55.47 kB / 0.5389 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007824/0.6263, allocations: 175.8 kB / 0.5391 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003444/0.6297, allocations: 2.139 MB / 0.5412 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.6557, allocations: 10.73 MB / 0.5517 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07927/0.735, allocations: 47.74 MB / 0.5983 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/0.7505, allocations: 5.4 MB / 0.6036 GB, free: 10.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004807/0.7553, allocations: 2.478 MB / 0.606 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.025/0.7804, allocations: 12.3 MB / 0.618 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.7805, allocations: 59.86 kB / 0.6181 GB, free: 11.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=219): time 7.534e-06/0.7805, allocations: 0 / 0.6181 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=258): time 0.3515/1.132, allocations: 25.35 MB / 0.6428 GB, free: 142.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002625/1.135, allocations: 4.558 MB / 0.6473 GB, free: 137.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008593/1.143, allocations: 4.546 MB / 0.6517 GB, free: 136.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001296/1.145, allocations: 68.12 kB / 0.6518 GB, free: 136.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002533/1.147, allocations: 3.526 MB / 0.6552 GB, free: 133.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001738/1.149, allocations: 1.03 MB / 0.6562 GB, free: 132.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/1.149, allocations: 151.8 kB / 0.6564 GB, free: 132.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003968/1.15, allocations: 0.6215 MB / 0.657 GB, free: 132 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005047/1.155, allocations: 3.25 MB / 0.6602 GB, free: 131 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007531/1.162, allocations: 7.568 MB / 0.6675 GB, free: 124.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009652/1.172, allocations: 4.806 MB / 0.6722 GB, free: 122.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002604/1.172, allocations: 43.41 kB / 0.6723 GB, free: 122.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.05591/1.228, allocations: 16.23 MB / 0.6881 GB, free: 117.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004427/1.229, allocations: 68.94 kB / 0.6882 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02987/1.259, allocations: 9.566 MB / 0.6975 GB, free: 115.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02716/1.286, allocations: 6.692 MB / 0.7041 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006558/1.293, allocations: 1.713 MB / 0.7057 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02963/1.322, allocations: 23.48 MB / 0.7287 GB, free: 82.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/1.332, allocations: 0.6631 MB / 0.7293 GB, free: 81.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002718/1.335, allocations: 459.9 kB / 0.7298 GB, free: 81.21 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 (linear and non-linear blocks): 8 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(1,100.0%) 1,(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008227/1.343, allocations: 2.348 MB / 0.7321 GB, free: 78.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/1.345, allocations: 418.6 kB / 0.7325 GB, free: 78.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/1.362, allocations: 7.295 MB / 0.7396 GB, free: 71.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01359/1.376, allocations: 6.653 MB / 0.7461 GB, free: 64.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.187e-05/1.376, allocations: 8 kB / 0.7461 GB, free: 64.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.023e-05/1.376, allocations: 11.95 kB / 0.7461 GB, free: 64.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03678/1.413, allocations: 15.61 MB / 0.7613 GB, free: 48.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.206e-05/1.413, allocations: 7.984 kB / 0.7613 GB, free: 48.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/1.415, allocations: 439.3 kB / 0.7618 GB, free: 48.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009404/1.424, allocations: 3.393 MB / 0.7651 GB, free: 44.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008557/1.425, allocations: 82.56 kB / 0.7652 GB, free: 44.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/1.444, allocations: 19.12 MB / 0.7838 GB, free: 24.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002762/1.446, allocations: 4.419 MB / 0.7881 GB, free: 19.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/1.468, allocations: 10.84 MB / 0.7987 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.47, allocations: 487.6 kB / 0.7992 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/1.471, allocations: 67.97 kB / 0.7993 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003499/1.475, allocations: 295.5 kB / 0.7995 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008966/1.476, allocations: 205.5 kB / 0.7997 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/1.476, allocations: 83.95 kB / 0.7998 GB, free: 7.387 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004479/1.481, allocations: 2.824 MB / 0.8026 GB, free: 4.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.481, allocations: 0 / 0.8026 GB, free: 4.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009032/1.49, allocations: 1.596 MB / 0.8041 GB, free: 2.973 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 (linear and non-linear blocks): 8 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(1,100.0%) 1,(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.0007142/1.49, allocations: 214.4 kB / 0.8043 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02189/1.512, allocations: 9.838 MB / 0.8139 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.512, allocations: 0 / 0.8139 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01146/1.524, allocations: 4.881 MB / 0.8187 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00739/1.531, allocations: 0.5584 MB / 0.8193 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2989/1.83, allocations: 15.58 MB / 0.8345 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008093/1.838, allocations: 3.706 MB / 0.8381 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008082/1.846, allocations: 2.247 MB / 0.8403 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/1.848, allocations: 304.5 kB / 0.8406 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/1.848, allocations: 0 / 0.8406 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1333/1.982, allocations: 63.71 MB / 0.9028 GB, free: 109.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1) Environment - environmentSimulation: