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.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001517/0.001517, allocations: 194.3 kB / 16.14 MB, free: 6.703 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.738/1.738, allocations: 205.1 MB / 222 MB, free: 4.75 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.3647/0.3647, allocations: 39.93 MB / 309.3 MB, free: 9.688 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.001598/0.001598, allocations: 59.92 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1464, allocations: 56.89 MB / 433.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.3368/0.4832, allocations: 106.2 MB / 0.5273 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05398/0.5372, allocations: 19.98 MB / 0.5468 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0308/0.5681, allocations: 451.3 kB / 0.5473 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.5794, allocations: 5.858 MB / 0.553 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008566/0.588, allocations: 2.782 MB / 0.5557 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.5914, allocations: 1.127 MB / 0.5568 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01386/0.6053, allocations: 11.13 MB / 0.5677 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009946/0.6153, allocations: 7.446 MB / 0.5749 GB, free: 8.453 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005779/0.6211, allocations: 2.597 MB / 0.5775 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006753/0.6279, allocations: 4.272 MB / 0.5817 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002078/0.63, allocations: 484 kB / 0.5821 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.6341, allocations: 1.416 MB / 0.5835 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00467/0.6388, allocations: 3.573 MB / 0.587 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007109/0.6459, allocations: 4.05 MB / 0.5909 GB, free: 8.016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.6627, allocations: 12.62 MB / 0.6033 GB, free: 11.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.6628, allocations: 3.938 kB / 0.6033 GB, free: 11.36 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6628, allocations: 3.938 kB / 0.6033 GB, free: 11.35 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005537/0.6633, allocations: 0 / 0.6033 GB, free: 11.35 MB / 478.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.02422/0.6876, allocations: 8.854 MB / 0.6119 GB, free: 2.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.6877, allocations: 12.03 kB / 0.6119 GB, free: 2.398 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.702, allocations: 2.983 MB / 0.6148 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/0.7155, allocations: 4.883 MB / 0.6196 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005378/0.7161, allocations: 460.1 kB / 0.6201 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002773/0.7189, allocations: 0.5894 MB / 0.6206 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4143/1.133, allocations: 18.49 MB / 0.6387 GB, free: 141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002996/1.134, allocations: 72.45 kB / 0.6387 GB, free: 141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/1.135, allocations: 276.7 kB / 0.639 GB, free: 140.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005234/1.14, allocations: 3.542 MB / 0.6425 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/1.168, allocations: 15.68 MB / 0.6578 GB, free: 135.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08449/1.253, allocations: 70.22 MB / 0.7264 GB, free: 83.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01924/1.272, allocations: 8.449 MB / 0.7346 GB, free: 74.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005801/1.278, allocations: 4.987 MB / 0.7395 GB, free: 69.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/1.295, allocations: 11.87 MB / 0.7511 GB, free: 57.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/1.295, allocations: 73.19 kB / 0.7511 GB, free: 57.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 6.182e-06/1.295, allocations: 0.6562 kB / 0.7511 GB, free: 57.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.09271/1.388, allocations: 38.91 MB / 0.7891 GB, free: 18.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/1.388, allocations: 260.9 kB / 0.7894 GB, free: 17.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00988/1.398, allocations: 7.424 MB / 0.7966 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001/1.399, allocations: 87.09 kB / 0.7967 GB, free: 10.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002769/1.402, allocations: 5.212 MB / 0.8018 GB, free: 5.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001853/1.404, allocations: 1.442 MB / 0.8032 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003385/1.407, allocations: 2.094 MB / 0.8053 GB, free: 1.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/1.407, allocations: 313.1 kB / 0.8056 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006913/1.414, allocations: 4.467 MB / 0.8099 GB, free: 12.7 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.236/1.65, allocations: 10.08 MB / 0.8198 GB, free: 138.7 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/1.668, allocations: 15.64 MB / 0.835 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001767/1.668, allocations: 55.84 kB / 0.8351 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03149/1.699, allocations: 16.46 MB / 0.8512 GB, free: 123.6 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/1.7, allocations: 90.62 kB / 0.8513 GB, free: 123.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003307/1.7, allocations: 196.8 kB / 0.8514 GB, free: 123.6 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005965/1.706, allocations: 2.308 MB / 0.8537 GB, free: 123.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008714/1.715, allocations: 2.451 MB / 0.8561 GB, free: 122.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/1.732, allocations: 13.52 MB / 0.8693 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008759/1.741, allocations: 0.5862 MB / 0.8699 GB, free: 116 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002454/1.743, allocations: 0.5921 MB / 0.8704 GB, free: 115.9 MB / 0.4982 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.008985/1.752, allocations: 3.612 MB / 0.874 GB, free: 114.3 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.754, allocations: 0.6396 MB / 0.8746 GB, free: 114.3 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/1.772, allocations: 9.199 MB / 0.8836 GB, free: 111.1 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-05/1.772, allocations: 42.56 kB / 0.8836 GB, free: 111.1 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.282e-05/1.772, allocations: 11.47 kB / 0.8836 GB, free: 111.1 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/1.772, allocations: 21.62 kB / 0.8836 GB, free: 111.1 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03327/1.805, allocations: 19.37 MB / 0.9026 GB, free: 99.27 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/1.805, allocations: 4.844 kB / 0.9026 GB, free: 99.27 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003592/1.809, allocations: 0.7082 MB / 0.9033 GB, free: 98.71 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004866/1.814, allocations: 2.043 MB / 0.9053 GB, free: 96.98 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009064/1.815, allocations: 76 kB / 0.9053 GB, free: 96.91 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/1.829, allocations: 12.72 MB / 0.9178 GB, free: 84.03 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.829, allocations: 11.94 kB / 0.9178 GB, free: 84.02 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/1.849, allocations: 14.31 MB / 0.9317 GB, free: 69.68 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004109/1.853, allocations: 1.348 MB / 0.9331 GB, free: 68.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002163/1.856, allocations: 75.84 kB / 0.9331 GB, free: 68.23 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004738/1.86, allocations: 267.6 kB / 0.9334 GB, free: 67.97 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001273/1.862, allocations: 238.8 kB / 0.9336 GB, free: 67.74 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003367/1.862, allocations: 104 kB / 0.9337 GB, free: 67.64 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006315/1.868, allocations: 4.786 MB / 0.9384 GB, free: 62.88 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.2e-07/1.868, allocations: 4 kB / 0.9384 GB, free: 62.88 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008236/1.877, allocations: 1.957 MB / 0.9403 GB, free: 60.93 MB / 0.4982 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.0007491/1.877, allocations: 219.8 kB / 0.9405 GB, free: 60.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01467/1.892, allocations: 10.76 MB / 0.951 GB, free: 49.96 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/1.892, allocations: 4.875 kB / 0.951 GB, free: 49.96 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006637/1.899, allocations: 4.329 MB / 0.9553 GB, free: 45.61 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006785/1.906, allocations: 0.7986 MB / 0.956 GB, free: 44.83 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/1.933, allocations: 22.1 MB / 0.9776 GB, free: 22.65 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005569/1.939, allocations: 5.476 MB / 0.983 GB, free: 17.14 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007352/1.946, allocations: 3.326 MB / 0.9862 GB, free: 13.81 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/1.948, allocations: 463.3 kB / 0.9867 GB, free: 13.36 MB / 0.4982 GB Notification: Performance of SimCode: time 1.172e-06/1.948, allocations: 0 / 0.9867 GB, free: 13.36 MB / 0.4982 GB Notification: Performance of Templates: time 0.3311/2.279, allocations: 76.39 MB / 1.061 GB, free: 130.2 MB / 0.5138 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)