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.0007684/0.0007685, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.007258/0.007258, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.487/1.487, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.3142/0.3142, allocations: 38.04 MB / 308.8 MB, free: 10.23 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.0005645/0.0005644, allocations: 20 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1238, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.3213/0.4452, allocations: 99.26 MB / 0.5213 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05359/0.4988, allocations: 19.26 MB / 0.5401 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02839/0.5272, allocations: 430.9 kB / 0.5405 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.5306, allocations: 0.6546 MB / 0.5412 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.5408, allocations: 2.704 MB / 0.5438 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.5444, allocations: 1.039 MB / 0.5448 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01705/0.5615, allocations: 11.46 MB / 0.556 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.5754, allocations: 8.329 MB / 0.5642 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006815/0.5823, allocations: 2.007 MB / 0.5661 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006562/0.5889, allocations: 3.585 MB / 0.5696 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001753/0.5906, allocations: 256 kB / 0.5699 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004109/0.5948, allocations: 1.33 MB / 0.5712 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004562/0.5994, allocations: 3.132 MB / 0.5742 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007058/0.6065, allocations: 3.456 MB / 0.5776 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.6231, allocations: 11.45 MB / 0.5888 GB, free: 13.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6231, allocations: 4 kB / 0.5888 GB, free: 13.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.6231, allocations: 0 / 0.5888 GB, free: 13.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000543/0.6237, allocations: 3.938 kB / 0.5888 GB, free: 13.84 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.01889/0.6426, allocations: 6.806 MB / 0.5954 GB, free: 6.953 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.6426, allocations: 8.031 kB / 0.5954 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/0.6594, allocations: 3.283 MB / 0.5986 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.6714, allocations: 5.228 MB / 0.6038 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.6718, allocations: 406.7 kB / 0.6041 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/0.6739, allocations: 0.5273 MB / 0.6047 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02981/0.7037, allocations: 16.42 MB / 0.6207 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/0.704, allocations: 75.3 kB / 0.6208 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000719/0.7048, allocations: 259.8 kB / 0.621 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005161/0.7099, allocations: 3.072 MB / 0.624 GB, free: 8.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4766/1.187, allocations: 13.68 MB / 0.6374 GB, free: 139.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07227/1.259, allocations: 62.47 MB / 0.6984 GB, free: 98.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/1.274, allocations: 6.123 MB / 0.7044 GB, free: 95.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004628/1.278, allocations: 3.422 MB / 0.7077 GB, free: 94.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/1.279, allocations: 51.98 kB / 0.7078 GB, free: 94.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.279, allocations: 68.44 kB / 0.7078 GB, free: 94.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 4.789e-06/1.279, allocations: 0 / 0.7078 GB, free: 94.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.06063/1.339, allocations: 26.3 MB / 0.7335 GB, free: 77.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/1.339, allocations: 261.2 kB / 0.7338 GB, free: 76.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008449/1.348, allocations: 7.039 MB / 0.7406 GB, free: 69.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006615/1.349, allocations: 61.7 kB / 0.7407 GB, free: 69.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002745/1.351, allocations: 4.969 MB / 0.7455 GB, free: 64.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/1.353, allocations: 1.04 MB / 0.7466 GB, free: 63.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008532/1.354, allocations: 0.7719 MB / 0.7473 GB, free: 62.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/1.354, allocations: 309 kB / 0.7476 GB, free: 62.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004249/1.358, allocations: 3.426 MB / 0.7509 GB, free: 59.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007731/1.366, allocations: 8.713 MB / 0.7595 GB, free: 47.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/1.378, allocations: 12.99 MB / 0.7721 GB, free: 32.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/1.378, allocations: 56 kB / 0.7722 GB, free: 32.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02563/1.404, allocations: 13.41 MB / 0.7853 GB, free: 18.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.404, allocations: 88.12 kB / 0.7854 GB, free: 18.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/1.404, allocations: 192 kB / 0.7856 GB, free: 18.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004204/1.408, allocations: 1.794 MB / 0.7873 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006612/1.415, allocations: 2.086 MB / 0.7894 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.427, allocations: 11.78 MB / 0.8009 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00816/1.435, allocations: 0.5111 MB / 0.8014 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/1.437, allocations: 0.5258 MB / 0.8019 GB, free: 1.312 MB / 494.1 MB 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.00863/1.446, allocations: 3.326 MB / 0.8051 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002118/1.448, allocations: 0.5784 MB / 0.8057 GB, free: 13.39 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/1.462, allocations: 6.006 MB / 0.8115 GB, free: 7.348 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-05/1.462, allocations: 28 kB / 0.8116 GB, free: 7.32 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-05/1.462, allocations: 12 kB / 0.8116 GB, free: 7.309 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-05/1.462, allocations: 15.95 kB / 0.8116 GB, free: 7.293 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3006/1.762, allocations: 13.37 MB / 0.8247 GB, free: 143.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.763, allocations: 5.25 kB / 0.8247 GB, free: 143.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.765, allocations: 464.2 kB / 0.8251 GB, free: 143.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003853/1.769, allocations: 1.492 MB / 0.8266 GB, free: 143.8 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003764/1.769, allocations: 51.48 kB / 0.8266 GB, free: 143.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.78, allocations: 10.83 MB / 0.8372 GB, free: 138.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.78, allocations: 3 kB / 0.8372 GB, free: 138.4 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/1.795, allocations: 9.759 MB / 0.8467 GB, free: 134.9 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003033/1.798, allocations: 1.082 MB / 0.8478 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/1.799, allocations: 46 kB / 0.8478 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/1.802, allocations: 189.8 kB / 0.848 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/1.803, allocations: 167.4 kB / 0.8482 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.803, allocations: 71.92 kB / 0.8482 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008813/1.812, allocations: 4.478 MB / 0.8526 GB, free: 133 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.71e-07/1.812, allocations: 1.25 kB / 0.8526 GB, free: 133 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009561/1.821, allocations: 1.668 MB / 0.8542 GB, free: 132.9 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.000852/1.822, allocations: 185.7 kB / 0.8544 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01663/1.839, allocations: 8.358 MB / 0.8626 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.839, allocations: 0 / 0.8626 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005565/1.845, allocations: 2.854 MB / 0.8654 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008659/1.853, allocations: 0.7511 MB / 0.8661 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03217/1.885, allocations: 19.09 MB / 0.8847 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008663/1.894, allocations: 5.069 MB / 0.8897 GB, free: 114.7 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008103/1.902, allocations: 2.8 MB / 0.8924 GB, free: 112.9 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/1.904, allocations: 394.6 kB / 0.8928 GB, free: 112.5 MB / 0.4982 GB Notification: Performance of SimCode: time 1.493e-06/1.904, allocations: 0 / 0.8928 GB, free: 112.5 MB / 0.4982 GB Notification: Performance of Templates: time 0.1002/2.004, allocations: 61.45 MB / 0.9528 GB, free: 51.97 MB / 0.4982 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: