Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.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.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001434/0.001434, allocations: 193 kB / 16.13 MB, free: 6.652 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.426/1.426, allocations: 205.1 MB / 222 MB, free: 4.754 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.3333/0.3333, allocations: 39.94 MB / 309.3 MB, free: 9.691 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.002255/0.002256, allocations: 63.92 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.124, allocations: 56.89 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.2705/0.3945, allocations: 101.6 MB / 0.5229 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0529/0.4474, allocations: 19.32 MB / 0.5417 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02852/0.476, allocations: 435.8 kB / 0.5421 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.4865, allocations: 5.087 MB / 0.5471 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008577/0.4951, allocations: 2.687 MB / 0.5497 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.4985, allocations: 1.155 MB / 0.5509 GB, free: 1.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01459/0.5131, allocations: 11.46 MB / 0.5621 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009385/0.5225, allocations: 6.13 MB / 0.568 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006064/0.5286, allocations: 2.429 MB / 0.5704 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0077/0.5364, allocations: 4.112 MB / 0.5744 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00274/0.5391, allocations: 424 kB / 0.5748 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004854/0.544, allocations: 1.494 MB / 0.5763 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004942/0.549, allocations: 3.366 MB / 0.5796 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005591/0.5546, allocations: 3.755 MB / 0.5832 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.5679, allocations: 11.8 MB / 0.5948 GB, free: 4.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.568, allocations: 0 / 0.5948 GB, free: 4.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.568, allocations: 0 / 0.5948 GB, free: 4.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003983/0.5684, allocations: 3.938 kB / 0.5948 GB, free: 4.066 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02399/0.5924, allocations: 8.326 MB / 0.6029 GB, free: 11.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.5925, allocations: 8.031 kB / 0.6029 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.6089, allocations: 3.216 MB / 0.6061 GB, free: 8.418 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.6205, allocations: 5.217 MB / 0.6111 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.6209, allocations: 406.7 kB / 0.6115 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/0.6227, allocations: 0.5429 MB / 0.6121 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03052/0.6533, allocations: 16.38 MB / 0.6281 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003007/0.6536, allocations: 79.3 kB / 0.6281 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/0.6547, allocations: 255.8 kB / 0.6284 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4389/1.094, allocations: 3.07 MB / 0.6314 GB, free: 144.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02632/1.12, allocations: 13.64 MB / 0.6447 GB, free: 141.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08152/1.202, allocations: 62.42 MB / 0.7057 GB, free: 99.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/1.215, allocations: 6.113 MB / 0.7116 GB, free: 95.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004535/1.22, allocations: 3.423 MB / 0.715 GB, free: 92.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/1.22, allocations: 43.94 kB / 0.715 GB, free: 92.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/1.22, allocations: 64.06 kB / 0.7151 GB, free: 92.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.28e-06/1.22, allocations: 0 / 0.7151 GB, free: 92.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.06339/1.284, allocations: 26.31 MB / 0.7408 GB, free: 66.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/1.284, allocations: 261.1 kB / 0.741 GB, free: 65.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009063/1.293, allocations: 7.042 MB / 0.7479 GB, free: 58.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001056/1.294, allocations: 61.7 kB / 0.748 GB, free: 58.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003091/1.297, allocations: 4.965 MB / 0.7528 GB, free: 53.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001328/1.298, allocations: 1.037 MB / 0.7538 GB, free: 52.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002242/1.301, allocations: 1.846 MB / 0.7556 GB, free: 50.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/1.301, allocations: 305.1 kB / 0.7559 GB, free: 50.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004077/1.305, allocations: 3.41 MB / 0.7592 GB, free: 47.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006681/1.311, allocations: 8.71 MB / 0.7677 GB, free: 35.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/1.325, allocations: 12.98 MB / 0.7804 GB, free: 20.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000179/1.325, allocations: 56 kB / 0.7805 GB, free: 20.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02949/1.355, allocations: 13.41 MB / 0.7936 GB, free: 6.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.355, allocations: 84 kB / 0.7937 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002214/1.355, allocations: 184 kB / 0.7938 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004361/1.359, allocations: 1.789 MB / 0.7956 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007192/1.367, allocations: 2.082 MB / 0.7976 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.382, allocations: 11.78 MB / 0.8091 GB, free: 6.422 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009536/1.391, allocations: 0.5071 MB / 0.8096 GB, free: 5.914 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004087/1.395, allocations: 0.5331 MB / 0.8101 GB, free: 5.383 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01133/1.407, allocations: 3.327 MB / 0.8134 GB, free: 2.043 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003198/1.41, allocations: 0.5862 MB / 0.814 GB, free: 1.449 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3091/1.719, allocations: 5.984 MB / 0.8198 GB, free: 146.6 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-05/1.719, allocations: 27.97 kB / 0.8198 GB, free: 146.6 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.153e-05/1.719, allocations: 8.469 kB / 0.8198 GB, free: 146.6 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.205e-05/1.719, allocations: 15.72 kB / 0.8199 GB, free: 146.6 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0276/1.747, allocations: 13.36 MB / 0.8329 GB, free: 142.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/1.747, allocations: 6.703 kB / 0.8329 GB, free: 142.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.749, allocations: 461.6 kB / 0.8333 GB, free: 142.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003864/1.753, allocations: 1.495 MB / 0.8348 GB, free: 142.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005037/1.754, allocations: 50.89 kB / 0.8349 GB, free: 142 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/1.766, allocations: 10.82 MB / 0.8454 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.766, allocations: 4.391 kB / 0.8454 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0194/1.786, allocations: 9.742 MB / 0.8549 GB, free: 132.1 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004566/1.79, allocations: 1.067 MB / 0.856 GB, free: 131.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001863/1.792, allocations: 43.48 kB / 0.856 GB, free: 131.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003637/1.796, allocations: 182.9 kB / 0.8562 GB, free: 131.8 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006603/1.797, allocations: 155.8 kB / 0.8563 GB, free: 131.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/1.797, allocations: 77.02 kB / 0.8564 GB, free: 131.7 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01224/1.809, allocations: 4.479 MB / 0.8608 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.91e-07/1.809, allocations: 1.406 kB / 0.8608 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01376/1.823, allocations: 1.671 MB / 0.8624 GB, free: 130.1 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * 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 (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008952/1.824, allocations: 190.9 kB / 0.8626 GB, free: 130 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01333/1.837, allocations: 8.34 MB / 0.8707 GB, free: 127 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.837, allocations: 9.531 kB / 0.8708 GB, free: 127 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004166/1.841, allocations: 2.85 MB / 0.8735 GB, free: 125.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005332/1.847, allocations: 0.7532 MB / 0.8743 GB, free: 125.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/1.876, allocations: 18.97 MB / 0.8928 GB, free: 109.8 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007628/1.883, allocations: 5.072 MB / 0.8978 GB, free: 104.7 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007794/1.891, allocations: 2.794 MB / 0.9005 GB, free: 101.9 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.893, allocations: 399.4 kB / 0.9009 GB, free: 101.5 MB / 0.4982 GB Notification: Performance of SimCode: time 1.132e-06/1.893, allocations: 4 kB / 0.9009 GB, free: 101.5 MB / 0.4982 GB Notification: Performance of Templates: time 0.1055/1.998, allocations: 62.42 MB / 0.9618 GB, free: 39.2 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)