Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007675/0.0007675, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008168/0.0008169, allocations: 172.7 kB / 15.95 MB, free: 208 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.305/1.305, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2888/0.2888, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.1. 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.0005817/0.0005817, allocations: 19.98 kB / 376.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1053, allocations: 57.52 MB / 434 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.2766/0.3819, allocations: 96.41 MB / 0.5179 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04511/0.427, allocations: 19.14 MB / 0.5366 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02102/0.4481, allocations: 452.8 kB / 0.5371 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01815/0.4663, allocations: 5.072 MB / 0.542 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04113/0.5074, allocations: 14.7 MB / 0.5564 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0061/0.5135, allocations: 0.986 MB / 0.5573 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.04649/0.56, allocations: 37.08 MB / 0.5935 GB, free: 8.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.5729, allocations: 8.897 MB / 0.6022 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/0.5772, allocations: 2.269 MB / 0.6044 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005025/0.5823, allocations: 3.598 MB / 0.608 GB, free: 9.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.5834, allocations: 275.9 kB / 0.6082 GB, free: 9.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.5862, allocations: 1.042 MB / 0.6092 GB, free: 8.656 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003097/0.5893, allocations: 3.202 MB / 0.6124 GB, free: 5.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.591, allocations: 1.52 MB / 0.6139 GB, free: 3.914 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.6014, allocations: 10.2 MB / 0.6238 GB, free: 9.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.6015, allocations: 4 kB / 0.6238 GB, free: 9.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6015, allocations: 0 / 0.6238 GB, free: 9.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003531/0.6019, allocations: 0 / 0.6238 GB, free: 9.688 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01658/0.6184, allocations: 7.321 MB / 0.631 GB, free: 2.281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.6185, allocations: 8.031 kB / 0.631 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5721/1.191, allocations: 3.047 MB / 0.6339 GB, free: 64.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/1.201, allocations: 4.788 MB / 0.6386 GB, free: 63.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004357/1.202, allocations: 451.2 kB / 0.6391 GB, free: 63.35 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001958/1.204, allocations: 0.5836 MB / 0.6396 GB, free: 63.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0364/1.24, allocations: 18.47 MB / 0.6577 GB, free: 60.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003306/1.24, allocations: 72.41 kB / 0.6577 GB, free: 60.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/1.242, allocations: 275.1 kB / 0.658 GB, free: 60.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006446/1.248, allocations: 3.549 MB / 0.6615 GB, free: 60.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0345/1.282, allocations: 15.63 MB / 0.6767 GB, free: 60.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08047/1.363, allocations: 70.24 MB / 0.7453 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.382, allocations: 8.446 MB / 0.7536 GB, free: 13.45 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007159/1.389, allocations: 4.988 MB / 0.7584 GB, free: 8.637 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01973/1.409, allocations: 11.87 MB / 0.77 GB, free: 12.69 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.232e-05/1.409, allocations: 77.17 kB / 0.7701 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=347): time 6.573e-06/1.409, allocations: 0 / 0.7701 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of matching and sorting (n=389): time 0.09548/1.504, allocations: 38.88 MB / 0.8081 GB, free: 5.566 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/1.505, allocations: 251.8 kB / 0.8083 GB, free: 5.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.516, allocations: 7.38 MB / 0.8155 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00117/1.517, allocations: 85.7 kB / 0.8156 GB, free: 13.82 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004577/1.522, allocations: 5.212 MB / 0.8207 GB, free: 8.641 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002114/1.524, allocations: 1.44 MB / 0.8221 GB, free: 7.211 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005212/1.524, allocations: 208 kB / 0.8223 GB, free: 7.008 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.000629/1.525, allocations: 0.7369 MB / 0.823 GB, free: 6.266 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006876/1.532, allocations: 4.432 MB / 0.8273 GB, free: 1.828 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01168/1.543, allocations: 10.05 MB / 0.8372 GB, free: 5.141 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2818/1.825, allocations: 6.529 MB / 0.8435 GB, free: 217.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002073/1.826, allocations: 54.69 kB / 0.8436 GB, free: 217.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03038/1.856, allocations: 16.38 MB / 0.8596 GB, free: 214.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.856, allocations: 92.19 kB / 0.8597 GB, free: 214.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002216/1.856, allocations: 193.7 kB / 0.8599 GB, free: 214.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004893/1.861, allocations: 2.348 MB / 0.8621 GB, free: 214.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008009/1.869, allocations: 2.443 MB / 0.8645 GB, free: 213.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.886, allocations: 13.48 MB / 0.8777 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008424/1.894, allocations: 0.5936 MB / 0.8783 GB, free: 207 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/1.896, allocations: 0.5889 MB / 0.8788 GB, free: 206.9 MB / 0.5763 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007735/1.904, allocations: 3.62 MB / 0.8824 GB, free: 205.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/1.906, allocations: 0.6369 MB / 0.883 GB, free: 205.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/1.923, allocations: 9.177 MB / 0.892 GB, free: 202 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.872e-05/1.923, allocations: 46 kB / 0.892 GB, free: 202 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.414e-05/1.923, allocations: 11.84 kB / 0.892 GB, free: 202 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.712e-05/1.923, allocations: 17.81 kB / 0.892 GB, free: 202 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03243/1.956, allocations: 19.35 MB / 0.9109 GB, free: 195.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/1.956, allocations: 7.312 kB / 0.9109 GB, free: 195.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002984/1.959, allocations: 0.7023 MB / 0.9116 GB, free: 195.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004555/1.963, allocations: 2.039 MB / 0.9136 GB, free: 194.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005725/1.964, allocations: 71.89 kB / 0.9137 GB, free: 194.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.977, allocations: 12.74 MB / 0.9261 GB, free: 183 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.977, allocations: 11.94 kB / 0.9261 GB, free: 183 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01787/1.995, allocations: 14.29 MB / 0.9401 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003306/1.999, allocations: 1.371 MB / 0.9414 GB, free: 167.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/2, allocations: 67.98 kB / 0.9415 GB, free: 167.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/2.003, allocations: 267.6 kB / 0.9417 GB, free: 166.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005099/2.004, allocations: 238.8 kB / 0.942 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/2.004, allocations: 107.9 kB / 0.9421 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006341/2.01, allocations: 4.739 MB / 0.9467 GB, free: 161.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.21e-07/2.01, allocations: 3.938 kB / 0.9467 GB, free: 161.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008904/2.019, allocations: 1.941 MB / 0.9486 GB, free: 159.8 MB / 0.5763 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007795/2.02, allocations: 232.6 kB / 0.9488 GB, free: 159.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01521/2.035, allocations: 10.75 MB / 0.9593 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.035, allocations: 0 / 0.9593 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006333/2.041, allocations: 4.322 MB / 0.9635 GB, free: 144.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005452/2.047, allocations: 0.7901 MB / 0.9643 GB, free: 143.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/2.076, allocations: 21.37 MB / 0.9852 GB, free: 122.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005833/2.082, allocations: 5.487 MB / 0.9905 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007973/2.09, allocations: 3.323 MB / 0.9938 GB, free: 113.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/2.092, allocations: 463.3 kB / 0.9942 GB, free: 113 MB / 0.5763 GB Notification: Performance of SimCode: time 8.62e-07/2.092, allocations: 0 / 0.9942 GB, free: 113 MB / 0.5763 GB Notification: Performance of Templates: time 0.1157/2.208, allocations: 73.25 MB / 1.066 GB, free: 39.8 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: