Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.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.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 100 kB / 15.05 MB, free: 1.105 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.001033/0.001034, allocations: 177.3 kB / 15.94 MB, free: 228 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.621/1.621, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3708/0.3708, allocations: 40 MB / 310.4 MB, free: 10 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.000588/0.0005882, allocations: 16 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1473, allocations: 57.95 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3412/0.4885, allocations: 87.37 MB / 0.5118 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05872/0.5473, allocations: 19.33 MB / 0.5307 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02497/0.5723, allocations: 446.2 kB / 0.5311 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01965/0.592, allocations: 4.415 MB / 0.5355 GB, free: 14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05473/0.6468, allocations: 12.49 MB / 0.5477 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007441/0.6543, allocations: 1.237 MB / 0.5489 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.6662, allocations: 4.686 MB / 0.5534 GB, free: 340 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01479/0.6811, allocations: 9.212 MB / 0.5624 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.686, allocations: 2.142 MB / 0.5645 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004553/0.6906, allocations: 2.765 MB / 0.5672 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.692, allocations: 296 kB / 0.5675 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.6947, allocations: 0.9558 MB / 0.5684 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003466/0.6982, allocations: 3.23 MB / 0.5716 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00245/0.7007, allocations: 1.602 MB / 0.5732 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.7168, allocations: 10.46 MB / 0.5834 GB, free: 1.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7169, allocations: 4 kB / 0.5834 GB, free: 1.559 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.7169, allocations: 0 / 0.5834 GB, free: 1.559 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005891/0.7175, allocations: 0 / 0.5834 GB, free: 1.559 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02101/0.7385, allocations: 8.167 MB / 0.5914 GB, free: 9.301 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.7386, allocations: 12.03 kB / 0.5914 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.7525, allocations: 3.136 MB / 0.5944 GB, free: 6.137 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.7653, allocations: 5.736 MB / 0.6 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005016/0.7659, allocations: 488 kB / 0.6005 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/0.7682, allocations: 0.6167 MB / 0.6011 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04218/0.8104, allocations: 19.63 MB / 0.6203 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002635/0.8107, allocations: 75.34 kB / 0.6203 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/0.812, allocations: 299.7 kB / 0.6206 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005903/0.8179, allocations: 3.637 MB / 0.6242 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4421/1.26, allocations: 15.31 MB / 0.6391 GB, free: 134.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/1.372, allocations: 73.31 MB / 0.7107 GB, free: 85.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01659/1.389, allocations: 6.127 MB / 0.7167 GB, free: 82.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02176/1.411, allocations: 11.33 MB / 0.7278 GB, free: 74.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.411, allocations: 63.34 kB / 0.7278 GB, free: 74.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 5.67e-06/1.411, allocations: 0 / 0.7278 GB, free: 74.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.0478/1.458, allocations: 16.89 MB / 0.7443 GB, free: 59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/1.459, allocations: 158.5 kB / 0.7445 GB, free: 58.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009782/1.468, allocations: 7.208 MB / 0.7515 GB, free: 51.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006346/1.469, allocations: 72.67 kB / 0.7516 GB, free: 51.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003631/1.473, allocations: 5.751 MB / 0.7572 GB, free: 45.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.474, allocations: 1.056 MB / 0.7582 GB, free: 44.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005231/1.475, allocations: 190.9 kB / 0.7584 GB, free: 44.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004697/1.475, allocations: 0.7109 MB / 0.7591 GB, free: 43.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004234/1.479, allocations: 2.696 MB / 0.7617 GB, free: 41.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006972/1.486, allocations: 8.555 MB / 0.7701 GB, free: 29.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007399/1.494, allocations: 4.639 MB / 0.7746 GB, free: 25.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/1.494, allocations: 60 kB / 0.7747 GB, free: 24.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02335/1.517, allocations: 10.95 MB / 0.7854 GB, free: 14.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/1.518, allocations: 98.5 kB / 0.7855 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003903/1.518, allocations: 208 kB / 0.7857 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/1.518, allocations: 308 kB / 0.7859 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007901/1.526, allocations: 2.188 MB / 0.7881 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002998/1.527, allocations: 410.4 kB / 0.7885 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008785/1.535, allocations: 463.5 kB / 0.7889 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002061/1.538, allocations: 0.5733 MB / 0.7895 GB, free: 9.793 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1179): * Single equations (assignments): 1168 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008528/1.546, allocations: 3.755 MB / 0.7931 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/1.548, allocations: 0.59 MB / 0.7937 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006451/1.554, allocations: 2.976 MB / 0.7966 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-05/1.554, allocations: 35.98 kB / 0.7967 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/1.554, allocations: 0 / 0.7967 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/1.554, allocations: 15.95 kB / 0.7967 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04633/1.601, allocations: 25.16 MB / 0.8213 GB, free: 8.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001009/1.601, allocations: 68.03 kB / 0.8213 GB, free: 8.273 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.603, allocations: 0.6082 MB / 0.8219 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.597e-05/1.603, allocations: 92 kB / 0.822 GB, free: 7.574 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002636/1.604, allocations: 136 kB / 0.8221 GB, free: 7.441 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001019/1.604, allocations: 123.5 kB / 0.8222 GB, free: 7.32 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-05/1.604, allocations: 103.5 kB / 0.8223 GB, free: 7.219 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3112/1.915, allocations: 17.4 MB / 0.8393 GB, free: 141.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/1.918, allocations: 0.7341 MB / 0.8401 GB, free: 141 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007346/1.919, allocations: 149 kB / 0.8402 GB, free: 141 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/1.921, allocations: 154.3 kB / 0.8403 GB, free: 141 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005672/1.922, allocations: 428.9 kB / 0.8408 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002798/1.922, allocations: 174.1 kB / 0.8409 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01052/1.932, allocations: 4.57 MB / 0.8454 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.003e-06/1.933, allocations: 3.062 kB / 0.8454 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009789/1.942, allocations: 1.581 MB / 0.8469 GB, free: 140.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * Number of states: 0 () * 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 (326): * Single equations (assignments): 323 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/1.943, allocations: 342.8 kB / 0.8473 GB, free: 140.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.954, allocations: 6.349 MB / 0.8535 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.405e-05/1.954, allocations: 9.062 kB / 0.8535 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002534/1.957, allocations: 1.643 MB / 0.8551 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005763/1.962, allocations: 0.898 MB / 0.8559 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04022/2.003, allocations: 21.27 MB / 0.8767 GB, free: 125.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01179/2.014, allocations: 5.965 MB / 0.8825 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01058/2.025, allocations: 2.899 MB / 0.8854 GB, free: 123.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/2.027, allocations: 434.5 kB / 0.8858 GB, free: 123.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.443e-06/2.027, allocations: 0 / 0.8858 GB, free: 123.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.09802/2.125, allocations: 48.74 MB / 0.9334 GB, free: 88.21 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) Environment - environmentSimulation: