Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008543/0.0008546, 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.0008948/0.000895, 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.483/1.483, 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.3383/0.3383, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0005444/0.0005444, allocations: 20 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1214, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.2888/0.4103, allocations: 92.25 MB / 0.5139 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04598/0.4563, allocations: 18.52 MB / 0.532 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02043/0.4768, allocations: 434.4 kB / 0.5324 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01897/0.4958, allocations: 4.855 MB / 0.5371 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04285/0.5387, allocations: 14.11 MB / 0.5509 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007758/0.5465, allocations: 1.026 MB / 0.5519 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.06512/0.6116, allocations: 51.4 MB / 0.6021 GB, free: 84 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.6233, allocations: 7.501 MB / 0.6094 GB, free: 8.531 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005024/0.6284, allocations: 2.191 MB / 0.6115 GB, free: 6.332 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006389/0.6348, allocations: 3.548 MB / 0.615 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002521/0.6374, allocations: 256 kB / 0.6153 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004265/0.6417, allocations: 1.135 MB / 0.6164 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004803/0.6465, allocations: 3.074 MB / 0.6194 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002994/0.6496, allocations: 1.423 MB / 0.6208 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.6606, allocations: 9.531 MB / 0.6301 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6607, allocations: 0 / 0.6301 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6607, allocations: 0 / 0.6301 GB, free: 3.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004853/0.6612, allocations: 4 kB / 0.6301 GB, free: 3.312 MB / 494.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.4497/1.111, allocations: 6.905 MB / 0.6368 GB, free: 72.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/1.111, allocations: 8.156 kB / 0.6368 GB, free: 72.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/1.125, allocations: 3.276 MB / 0.64 GB, free: 71.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009974/1.135, allocations: 5.127 MB / 0.645 GB, free: 70.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/1.135, allocations: 401.8 kB / 0.6454 GB, free: 70.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/1.137, allocations: 0.5349 MB / 0.6459 GB, free: 70.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03051/1.167, allocations: 16.38 MB / 0.6619 GB, free: 67.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003905/1.168, allocations: 80.77 kB / 0.662 GB, free: 67.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00128/1.169, allocations: 256.8 kB / 0.6622 GB, free: 67.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005413/1.174, allocations: 3.07 MB / 0.6652 GB, free: 67.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02621/1.201, allocations: 13.63 MB / 0.6786 GB, free: 64.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06463/1.265, allocations: 62.42 MB / 0.7395 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/1.277, allocations: 6.111 MB / 0.7455 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004305/1.281, allocations: 3.414 MB / 0.7488 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/1.282, allocations: 45.83 kB / 0.7489 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/1.282, allocations: 63 kB / 0.7489 GB, free: 5.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.921e-06/1.282, allocations: 0 / 0.7489 GB, free: 5.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.06469/1.346, allocations: 26.28 MB / 0.7746 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.347, allocations: 257.2 kB / 0.7748 GB, free: 11.47 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009572/1.356, allocations: 6.997 MB / 0.7817 GB, free: 4.496 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006854/1.357, allocations: 67.23 kB / 0.7817 GB, free: 4.426 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003406/1.36, allocations: 4.973 MB / 0.7866 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.362, allocations: 1.036 MB / 0.7876 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/1.362, allocations: 183.8 kB / 0.7878 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004948/1.363, allocations: 0.6902 MB / 0.7884 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004879/1.368, allocations: 3.379 MB / 0.7917 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007947/1.375, allocations: 8.683 MB / 0.8002 GB, free: 14.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007513/1.383, allocations: 5.279 MB / 0.8054 GB, free: 9.879 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/1.383, allocations: 52 kB / 0.8054 GB, free: 9.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02317/1.406, allocations: 13.34 MB / 0.8185 GB, free: 13.59 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/1.407, allocations: 84 kB / 0.8185 GB, free: 13.51 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002697/1.407, allocations: 184 kB / 0.8187 GB, free: 13.33 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004252/1.411, allocations: 1.823 MB / 0.8205 GB, free: 11.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006629/1.418, allocations: 2.084 MB / 0.8225 GB, free: 9.594 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/1.431, allocations: 11.78 MB / 0.834 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00681/1.438, allocations: 0.5111 MB / 0.8345 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.44, allocations: 0.5234 MB / 0.835 GB, free: 12.51 MB / 0.5763 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006425/1.446, allocations: 3.323 MB / 0.8383 GB, free: 9.355 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/1.448, allocations: 0.5862 MB / 0.8389 GB, free: 8.762 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.459, allocations: 5.99 MB / 0.8447 GB, free: 2.766 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.596e-05/1.459, allocations: 31.67 kB / 0.8447 GB, free: 2.738 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.586e-05/1.459, allocations: 8 kB / 0.8447 GB, free: 2.73 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/1.459, allocations: 11.95 kB / 0.8448 GB, free: 2.719 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2497/1.709, allocations: 13.35 MB / 0.8578 GB, free: 220.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.709, allocations: 6.094 kB / 0.8578 GB, free: 220.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/1.711, allocations: 458.1 kB / 0.8582 GB, free: 220.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003341/1.714, allocations: 1.491 MB / 0.8597 GB, free: 220.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/1.714, allocations: 47.98 kB / 0.8597 GB, free: 220.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009629/1.724, allocations: 10.83 MB / 0.8703 GB, free: 213.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.724, allocations: 10.77 kB / 0.8703 GB, free: 213.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/1.737, allocations: 9.722 MB / 0.8798 GB, free: 210.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002717/1.74, allocations: 1.083 MB / 0.8809 GB, free: 209.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009869/1.741, allocations: 44.44 kB / 0.8809 GB, free: 209.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.743, allocations: 194.3 kB / 0.8811 GB, free: 209.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004305/1.743, allocations: 164.6 kB / 0.8813 GB, free: 209.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.744, allocations: 68.97 kB / 0.8813 GB, free: 209.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007849/1.751, allocations: 4.435 MB / 0.8857 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.91e-07/1.751, allocations: 0 / 0.8857 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00916/1.761, allocations: 1.669 MB / 0.8873 GB, free: 208.1 MB / 0.5763 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004902/1.761, allocations: 182.9 kB / 0.8875 GB, free: 208 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01425/1.775, allocations: 8.304 MB / 0.8956 GB, free: 205 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.775, allocations: 1.406 kB / 0.8956 GB, free: 205 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003791/1.779, allocations: 2.842 MB / 0.8984 GB, free: 203.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004639/1.784, allocations: 0.7712 MB / 0.8991 GB, free: 203.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/1.808, allocations: 18.28 MB / 0.917 GB, free: 194.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004908/1.813, allocations: 5.078 MB / 0.9219 GB, free: 191.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006387/1.819, allocations: 2.789 MB / 0.9246 GB, free: 189.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.82, allocations: 394.4 kB / 0.925 GB, free: 189.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.543e-06/1.82, allocations: 0 / 0.925 GB, free: 189.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.09023/1.911, allocations: 60.15 MB / 0.9838 GB, free: 130.2 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1) Environment - environmentSimulation: