Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001104/0.001104, allocations: 172.7 kB / 15.95 MB, free: 192 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.85/1.85, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.4466/0.4466, allocations: 40 MB / 310.4 MB, free: 9.922 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.0007934/0.0007934, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1567, allocations: 57.95 MB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4234/0.5802, allocations: 114.2 MB / 0.5381 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07467/0.6549, allocations: 22.58 MB / 0.5602 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04089/0.6958, allocations: 0.5261 MB / 0.5607 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02503/0.7209, allocations: 6.034 MB / 0.5666 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06681/0.7878, allocations: 17.44 MB / 0.5836 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0143/0.8021, allocations: 1.238 MB / 0.5848 GB, free: 300 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.4911/1.293, allocations: 67.67 MB / 0.6509 GB, free: 48.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02323/1.317, allocations: 10.06 MB / 0.6607 GB, free: 47.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/1.327, allocations: 2.677 MB / 0.6633 GB, free: 47.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009796/1.337, allocations: 4.323 MB / 0.6676 GB, free: 47.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002541/1.34, allocations: 310.1 kB / 0.6679 GB, free: 47.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/1.345, allocations: 1.179 MB / 0.669 GB, free: 47.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006428/1.351, allocations: 3.728 MB / 0.6726 GB, free: 47.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005864/1.357, allocations: 1.713 MB / 0.6743 GB, free: 47.33 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/1.373, allocations: 11.62 MB / 0.6857 GB, free: 41.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/1.374, allocations: 5.375 kB / 0.6857 GB, free: 41.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.907e-06/1.374, allocations: 0 / 0.6857 GB, free: 41.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008261/1.374, allocations: 0 / 0.6857 GB, free: 41.66 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: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.02624/1.401, allocations: 8.339 MB / 0.6938 GB, free: 33.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.401, allocations: 8.031 kB / 0.6938 GB, free: 33.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01817/1.419, allocations: 3.801 MB / 0.6975 GB, free: 30.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/1.434, allocations: 6.45 MB / 0.7038 GB, free: 25.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004424/1.435, allocations: 0.4885 MB / 0.7043 GB, free: 25.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003393/1.438, allocations: 0.6657 MB / 0.705 GB, free: 24.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04287/1.481, allocations: 19.9 MB / 0.7244 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000487/1.481, allocations: 84.22 kB / 0.7245 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002049/1.483, allocations: 313.3 kB / 0.7248 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005348/1.489, allocations: 3.614 MB / 0.7283 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03595/1.525, allocations: 16.71 MB / 0.7446 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.639, allocations: 73.14 MB / 0.816 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02112/1.66, allocations: 8.494 MB / 0.8243 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007788/1.668, allocations: 4.542 MB / 0.8288 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009595/1.669, allocations: 0.6711 MB / 0.8294 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/1.669, allocations: 66.97 kB / 0.8295 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=311): time 7.625e-06/1.669, allocations: 4 kB / 0.8295 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=335): time 0.5754/2.244, allocations: 35.67 MB / 0.8643 GB, free: 215 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/2.244, allocations: 298.7 kB / 0.8646 GB, free: 214.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0127/2.257, allocations: 7.772 MB / 0.8722 GB, free: 212.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001174/2.258, allocations: 71.55 kB / 0.8723 GB, free: 212 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004215/2.263, allocations: 5.74 MB / 0.8779 GB, free: 207.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001975/2.265, allocations: 1.275 MB / 0.8791 GB, free: 206.7 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008141/2.265, allocations: 205.2 kB / 0.8793 GB, free: 206.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.00053/2.266, allocations: 0.739 MB / 0.8801 GB, free: 206 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007445/2.273, allocations: 4.078 MB / 0.884 GB, free: 204.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/2.285, allocations: 9.802 MB / 0.8936 GB, free: 195.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/2.297, allocations: 6.159 MB / 0.8996 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003388/2.298, allocations: 57.97 kB / 0.8997 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03687/2.335, allocations: 15.74 MB / 0.915 GB, free: 187.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003576/2.335, allocations: 90.34 kB / 0.9151 GB, free: 187.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005418/2.336, allocations: 200.1 kB / 0.9153 GB, free: 187.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006029/2.342, allocations: 2.355 MB / 0.9176 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008165/2.35, allocations: 2.349 MB / 0.9199 GB, free: 186.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/2.367, allocations: 15.6 MB / 0.9351 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/2.377, allocations: 0.5841 MB / 0.9357 GB, free: 176 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002532/2.38, allocations: 0.577 MB / 0.9363 GB, free: 175.5 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1250): * Single equations (assignments): 1243 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009427/2.389, allocations: 3.893 MB / 0.9401 GB, free: 172.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/2.391, allocations: 0.6672 MB / 0.9407 GB, free: 171.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/2.406, allocations: 7.978 MB / 0.9485 GB, free: 165 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.825e-05/2.406, allocations: 32 kB / 0.9486 GB, free: 165 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.426e-05/2.406, allocations: 14.11 kB / 0.9486 GB, free: 165 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.154e-05/2.406, allocations: 14.67 kB / 0.9486 GB, free: 165 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03588/2.442, allocations: 17.34 MB / 0.9655 GB, free: 148.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/2.442, allocations: 0 / 0.9655 GB, free: 148.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/2.445, allocations: 0.5656 MB / 0.9661 GB, free: 147.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004841/2.45, allocations: 1.989 MB / 0.968 GB, free: 145.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006696/2.451, allocations: 59.98 kB / 0.9681 GB, free: 145.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/2.465, allocations: 14.45 MB / 0.9822 GB, free: 130.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/2.465, allocations: 0 / 0.9822 GB, free: 130.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/2.485, allocations: 12.36 MB / 0.9943 GB, free: 118.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004601/2.489, allocations: 1.285 MB / 0.9955 GB, free: 117.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002384/2.492, allocations: 61.16 kB / 0.9956 GB, free: 117 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005238/2.497, allocations: 243.6 kB / 0.9958 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008818/2.498, allocations: 190.3 kB / 0.996 GB, free: 116.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004407/2.498, allocations: 89.7 kB / 0.9961 GB, free: 116.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01048/2.509, allocations: 4.942 MB / 1.001 GB, free: 111.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.11e-07/2.509, allocations: 0 / 1.001 GB, free: 111.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0136/2.522, allocations: 2.017 MB / 1.003 GB, free: 109.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(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.00121/2.524, allocations: 205.5 kB / 1.003 GB, free: 109.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01679/2.54, allocations: 10.05 MB / 1.013 GB, free: 99.33 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/2.541, allocations: 0 / 1.013 GB, free: 99.33 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005479/2.546, allocations: 3.647 MB / 1.016 GB, free: 95.64 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01086/2.557, allocations: 0.9135 MB / 1.017 GB, free: 94.73 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04336/2.6, allocations: 22.19 MB / 1.039 GB, free: 72.49 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01359/2.614, allocations: 5.948 MB / 1.045 GB, free: 66.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01062/2.625, allocations: 3.081 MB / 1.048 GB, free: 63.42 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002492/2.627, allocations: 451.4 kB / 1.048 GB, free: 62.98 MB / 0.5763 GB Notification: Performance of SimCode: time 1.042e-06/2.627, allocations: 0 / 1.048 GB, free: 62.98 MB / 0.5763 GB Notification: Performance of Templates: time 0.4321/3.059, allocations: 75.38 MB / 1.122 GB, free: 197.8 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) Environment - environmentSimulation: