Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006978/0.006984, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001592/0.001592, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.728/1.728, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.345/0.345, allocations: 39.94 MB / 309.8 MB, free: 9.367 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.001401/0.001401, allocations: 71.89 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3018, allocations: 56.86 MB / 492.7 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01835/0.3202, allocations: 18.76 MB / 0.4995 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.3384, allocations: 5.452 MB / 0.5048 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006132/0.3446, allocations: 120.4 kB / 0.5049 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01132/0.3559, allocations: 5.855 MB / 0.5106 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.3675, allocations: 2.966 MB / 0.5135 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.3716, allocations: 1.206 MB / 0.5147 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01533/0.387, allocations: 7.485 MB / 0.522 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008952/0.396, allocations: 7.566 MB / 0.5294 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006089/0.4021, allocations: 2.94 MB / 0.5323 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006799/0.4089, allocations: 4.015 MB / 0.5362 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.411, allocations: 0.668 MB / 0.5368 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.4154, allocations: 1.537 MB / 0.5383 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005042/0.4205, allocations: 3.752 MB / 0.542 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007994/0.4285, allocations: 4.226 MB / 0.5461 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01857/0.4471, allocations: 13.21 MB / 0.559 GB, free: 484 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4471, allocations: 0 / 0.559 GB, free: 484 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4472, allocations: 0 / 0.559 GB, free: 484 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005093/0.4477, allocations: 4 kB / 0.559 GB, free: 480 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.0216/0.4693, allocations: 8.85 MB / 0.5677 GB, free: 7.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4693, allocations: 15.83 kB / 0.5677 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/0.4845, allocations: 2.985 MB / 0.5706 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.498, allocations: 4.957 MB / 0.5754 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004233/0.4985, allocations: 451.9 kB / 0.5759 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002589/0.5011, allocations: 0.5855 MB / 0.5764 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03895/0.54, allocations: 18.49 MB / 0.5945 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003382/0.5404, allocations: 75.3 kB / 0.5946 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001903/0.5423, allocations: 279.8 kB / 0.5948 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006352/0.5487, allocations: 3.542 MB / 0.5983 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03478/0.5835, allocations: 15.68 MB / 0.6136 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5742/1.158, allocations: 69.87 MB / 0.6818 GB, free: 76.74 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02153/1.179, allocations: 8.439 MB / 0.6901 GB, free: 74.16 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006118/1.186, allocations: 5.001 MB / 0.695 GB, free: 71.62 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01816/1.204, allocations: 11.86 MB / 0.7065 GB, free: 64.07 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.204, allocations: 68.38 kB / 0.7066 GB, free: 64 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=347): time 5.27e-06/1.204, allocations: 0 / 0.7066 GB, free: 64 MB / 0.4982 GB Notification: Performance of matching and sorting (n=389): time 0.09663/1.3, allocations: 38.95 MB / 0.7446 GB, free: 31.14 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.301, allocations: 244.9 kB / 0.7449 GB, free: 30.85 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/1.311, allocations: 7.424 MB / 0.7521 GB, free: 23.44 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/1.313, allocations: 85.7 kB / 0.7522 GB, free: 23.35 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003471/1.316, allocations: 5.207 MB / 0.7573 GB, free: 18.15 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00233/1.318, allocations: 1.448 MB / 0.7587 GB, free: 16.71 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003004/1.321, allocations: 2.092 MB / 0.7608 GB, free: 14.61 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/1.321, allocations: 305.1 kB / 0.761 GB, free: 14.31 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005877/1.327, allocations: 4.467 MB / 0.7654 GB, free: 9.84 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009698/1.337, allocations: 10.09 MB / 0.7753 GB, free: 13.01 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02251/1.36, allocations: 15.64 MB / 0.7905 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002575/1.36, allocations: 56 kB / 0.7906 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03652/1.396, allocations: 16.47 MB / 0.8067 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003563/1.397, allocations: 88 kB / 0.8068 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000482/1.397, allocations: 196 kB / 0.8069 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007007/1.404, allocations: 2.309 MB / 0.8092 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009528/1.414, allocations: 2.441 MB / 0.8116 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/1.435, allocations: 14.43 MB / 0.8257 GB, free: 6.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009397/1.444, allocations: 0.5946 MB / 0.8263 GB, free: 5.746 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/1.446, allocations: 0.582 MB / 0.8268 GB, free: 5.164 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1261): * Single equations (assignments): 1254 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01073/1.457, allocations: 3.626 MB / 0.8304 GB, free: 1.527 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002297/1.46, allocations: 0.644 MB / 0.831 GB, free: 0.875 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02077/1.48, allocations: 9.191 MB / 0.84 GB, free: 7.645 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.645e-05/1.48, allocations: 40 kB / 0.84 GB, free: 7.605 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.204e-05/1.48, allocations: 11.98 kB / 0.84 GB, free: 7.594 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.709e-05/1.481, allocations: 15.94 kB / 0.84 GB, free: 7.578 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04262/1.523, allocations: 19.16 MB / 0.8587 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.684e-05/1.523, allocations: 4 kB / 0.8588 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00428/1.528, allocations: 0.7021 MB / 0.8594 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006431/1.534, allocations: 2.054 MB / 0.8614 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001159/1.535, allocations: 76 kB / 0.8615 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2903/1.826, allocations: 13.75 MB / 0.8749 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/1.826, allocations: 9.438 kB / 0.875 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0247/1.85, allocations: 14.34 MB / 0.889 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004228/1.855, allocations: 1.352 MB / 0.8903 GB, free: 187.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/1.856, allocations: 71.11 kB / 0.8904 GB, free: 187.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00349/1.859, allocations: 271.1 kB / 0.8906 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006924/1.86, allocations: 242.6 kB / 0.8908 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/1.86, allocations: 111.9 kB / 0.891 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006996/1.867, allocations: 4.786 MB / 0.8956 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.867, allocations: 1.719 kB / 0.8956 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008992/1.876, allocations: 1.948 MB / 0.8975 GB, free: 185.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (329): * Single equations (assignments): 324 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008764/1.877, allocations: 225.3 kB / 0.8977 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01506/1.892, allocations: 10.82 MB / 0.9083 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/1.892, allocations: 0 / 0.9083 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007033/1.9, allocations: 4.324 MB / 0.9125 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006279/1.906, allocations: 0.8406 MB / 0.9134 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/1.934, allocations: 18.34 MB / 0.9313 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00668/1.941, allocations: 5.487 MB / 0.9366 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007231/1.948, allocations: 3.322 MB / 0.9399 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/1.95, allocations: 463.3 kB / 0.9403 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/1.95, allocations: 0 / 0.9403 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1138/2.064, allocations: 73.78 MB / 1.012 GB, free: 79.17 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)