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.001213/0.001213, allocations: 90.52 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.008032/0.008032, allocations: 171.1 kB / 16.26 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.562/1.562, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3342/0.3342, allocations: 40 MB / 310.7 MB, free: 9.617 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.0005867/0.0005868, allocations: 20 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1154, allocations: 57.95 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.2955/0.4109, allocations: 99.25 MB / 0.5241 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05145/0.4624, allocations: 19.27 MB / 0.5429 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02487/0.4873, allocations: 434.4 kB / 0.5433 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003583/0.4909, allocations: 0.6599 MB / 0.544 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009635/0.5006, allocations: 2.684 MB / 0.5466 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.5042, allocations: 1.035 MB / 0.5476 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.5202, allocations: 11.47 MB / 0.5588 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01373/0.5339, allocations: 8.32 MB / 0.5669 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.5395, allocations: 2.027 MB / 0.5689 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006183/0.5457, allocations: 3.578 MB / 0.5724 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001812/0.5476, allocations: 252 kB / 0.5726 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/0.5523, allocations: 1.334 MB / 0.5739 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004349/0.5566, allocations: 3.12 MB / 0.577 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006212/0.5629, allocations: 3.468 MB / 0.5804 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.5766, allocations: 11.45 MB / 0.5915 GB, free: 9.363 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5767, allocations: 7.938 kB / 0.5916 GB, free: 9.355 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5767, allocations: 0 / 0.5916 GB, free: 9.355 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004569/0.5771, allocations: 0 / 0.5916 GB, free: 9.355 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.0183/0.5954, allocations: 6.806 MB / 0.5982 GB, free: 2.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.5955, allocations: 12.03 kB / 0.5982 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.6124, allocations: 3.279 MB / 0.6014 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.6257, allocations: 5.232 MB / 0.6065 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005037/0.6262, allocations: 398.7 kB / 0.6069 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/0.6291, allocations: 0.5351 MB / 0.6074 GB, free: 8.926 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03711/0.6662, allocations: 16.42 MB / 0.6235 GB, free: 7.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004856/0.6668, allocations: 79.3 kB / 0.6235 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002072/0.6689, allocations: 255.8 kB / 0.6238 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005646/0.6745, allocations: 3.072 MB / 0.6268 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5283/1.203, allocations: 13.68 MB / 0.6401 GB, free: 138.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09542/1.298, allocations: 62.47 MB / 0.7012 GB, free: 95.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/1.314, allocations: 6.115 MB / 0.7071 GB, free: 93.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004992/1.319, allocations: 3.426 MB / 0.7105 GB, free: 91.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/1.319, allocations: 44.31 kB / 0.7105 GB, free: 91.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/1.319, allocations: 71.83 kB / 0.7106 GB, free: 91.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.841e-06/1.319, allocations: 0 / 0.7106 GB, free: 91.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.07592/1.395, allocations: 26.31 MB / 0.7363 GB, free: 70.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/1.395, allocations: 261.2 kB / 0.7365 GB, free: 69.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009578/1.405, allocations: 7.035 MB / 0.7434 GB, free: 62.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007679/1.406, allocations: 66.36 kB / 0.7435 GB, free: 62.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003138/1.409, allocations: 4.975 MB / 0.7483 GB, free: 57.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.41, allocations: 1.036 MB / 0.7493 GB, free: 56.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/1.411, allocations: 0.7719 MB / 0.7501 GB, free: 56.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.846e-05/1.412, allocations: 309.1 kB / 0.7504 GB, free: 55.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0044/1.416, allocations: 3.418 MB / 0.7537 GB, free: 52.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006804/1.423, allocations: 8.71 MB / 0.7622 GB, free: 41.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/1.436, allocations: 13 MB / 0.7749 GB, free: 25.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001997/1.436, allocations: 56 kB / 0.775 GB, free: 25.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02691/1.463, allocations: 13.42 MB / 0.7881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002549/1.464, allocations: 87.94 kB / 0.7882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003204/1.464, allocations: 184 kB / 0.7883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004475/1.468, allocations: 1.791 MB / 0.7901 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007374/1.476, allocations: 2.086 MB / 0.7921 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.49, allocations: 11.77 MB / 0.8036 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009824/1.5, allocations: 0.5149 MB / 0.8041 GB, free: 11.09 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002268/1.503, allocations: 0.5273 MB / 0.8046 GB, free: 10.57 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.00954/1.512, allocations: 3.327 MB / 0.8079 GB, free: 7.227 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001982/1.514, allocations: 0.5862 MB / 0.8085 GB, free: 6.633 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/1.528, allocations: 5.998 MB / 0.8143 GB, free: 0.6016 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.235e-05/1.528, allocations: 32 kB / 0.8143 GB, free: 0.5703 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-05/1.528, allocations: 12 kB / 0.8144 GB, free: 0.5586 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-05/1.528, allocations: 11.95 kB / 0.8144 GB, free: 0.5469 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0324/1.561, allocations: 13.38 MB / 0.8274 GB, free: 3.156 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/1.561, allocations: 3.938 kB / 0.8274 GB, free: 3.152 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.563, allocations: 463.3 kB / 0.8279 GB, free: 2.699 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004387/1.568, allocations: 1.496 MB / 0.8293 GB, free: 1.195 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004277/1.568, allocations: 47.94 kB / 0.8294 GB, free: 1.148 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3269/1.895, allocations: 10.83 MB / 0.84 GB, free: 154.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.895, allocations: 3.188 kB / 0.84 GB, free: 154.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/1.91, allocations: 9.755 MB / 0.8495 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003368/1.914, allocations: 1.078 MB / 0.8505 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008805/1.915, allocations: 48.55 kB / 0.8506 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002411/1.917, allocations: 188.8 kB / 0.8508 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005224/1.918, allocations: 157.6 kB / 0.8509 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/1.918, allocations: 73.73 kB / 0.851 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007264/1.925, allocations: 4.481 MB / 0.8554 GB, free: 150 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/1.925, allocations: 0 / 0.8554 GB, free: 150 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009312/1.934, allocations: 1.67 MB / 0.857 GB, free: 149.8 MB / 0.5138 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.0007153/1.935, allocations: 187.1 kB / 0.8572 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01597/1.951, allocations: 8.353 MB / 0.8653 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.951, allocations: 3 kB / 0.8653 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005232/1.956, allocations: 2.851 MB / 0.8681 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009934/1.966, allocations: 0.7532 MB / 0.8689 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04287/2.009, allocations: 19.09 MB / 0.8875 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01269/2.022, allocations: 5.071 MB / 0.8925 GB, free: 133.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008418/2.03, allocations: 2.802 MB / 0.8952 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/2.032, allocations: 387.4 kB / 0.8956 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of SimCode: time 3.206e-06/2.032, allocations: 0 / 0.8956 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1109/2.143, allocations: 61.45 MB / 0.9556 GB, free: 74.52 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: