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.001057/0.001057, allocations: 100.2 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.001069/0.001068, 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.312/1.312, allocations: 205.4 MB / 222.1 MB, free: 5.684 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.3132/0.3132, allocations: 40 MB / 310.4 MB, free: 9.953 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.0005027/0.0005027, allocations: 19.98 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1073, allocations: 57.95 MB / 436.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.3168/0.4241, allocations: 107.8 MB / 0.5318 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06034/0.4845, allocations: 23.73 MB / 0.5549 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02113/0.5057, allocations: 0.5261 MB / 0.5554 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01786/0.5236, allocations: 5.452 MB / 0.5608 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04482/0.5684, allocations: 15.29 MB / 0.5757 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006923/0.5754, allocations: 1.215 MB / 0.5769 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0728/0.6482, allocations: 52.54 MB / 0.6282 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2769/0.9251, allocations: 9.973 MB / 0.6379 GB, free: 53.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.9302, allocations: 2.161 MB / 0.64 GB, free: 53.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006595/0.9368, allocations: 3.001 MB / 0.643 GB, free: 53.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.9391, allocations: 314.9 kB / 0.6433 GB, free: 53.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004377/0.9435, allocations: 1.149 MB / 0.6444 GB, free: 53.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004782/0.9483, allocations: 3.469 MB / 0.6478 GB, free: 53.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004381/0.9527, allocations: 1.734 MB / 0.6495 GB, free: 53.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.9718, allocations: 11.89 MB / 0.6611 GB, free: 51.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9718, allocations: 0 / 0.6611 GB, free: 51.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.36e-06/0.9718, allocations: 0.9062 kB / 0.6611 GB, free: 51.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007984/0.9726, allocations: 0 / 0.6611 GB, free: 51.5 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.03314/1.006, allocations: 8.87 MB / 0.6698 GB, free: 46.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.006, allocations: 10.09 kB / 0.6698 GB, free: 46.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08161/1.087, allocations: 14.28 MB / 0.6837 GB, free: 41.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/1.106, allocations: 7.175 MB / 0.6907 GB, free: 36.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003855/1.106, allocations: 0.4897 MB / 0.6912 GB, free: 36.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003932/1.11, allocations: 0.6695 MB / 0.6918 GB, free: 35.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04532/1.155, allocations: 19.84 MB / 0.7112 GB, free: 20.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004439/1.156, allocations: 85.06 kB / 0.7113 GB, free: 20.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002553/1.158, allocations: 310.8 kB / 0.7116 GB, free: 20.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006365/1.165, allocations: 3.611 MB / 0.7151 GB, free: 17.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03825/1.203, allocations: 16.45 MB / 0.7312 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/1.315, allocations: 72.46 MB / 0.8019 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02091/1.336, allocations: 8.282 MB / 0.81 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008407/1.337, allocations: 0.6638 MB / 0.8107 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/1.337, allocations: 70.84 kB / 0.8107 GB, free: 2.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=311): time 6.452e-06/1.337, allocations: 2.078 kB / 0.8107 GB, free: 2.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=335): time 0.09056/1.427, allocations: 32.42 MB / 0.8424 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/1.428, allocations: 289.8 kB / 0.8427 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2748/1.702, allocations: 8.303 MB / 0.8508 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001145/1.704, allocations: 73.02 kB / 0.8509 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004878/1.708, allocations: 5.853 MB / 0.8566 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/1.71, allocations: 1.263 MB / 0.8578 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006997/1.711, allocations: 196.9 kB / 0.858 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0004017/1.712, allocations: 0.7071 MB / 0.8587 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005076/1.717, allocations: 3.653 MB / 0.8623 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007541/1.724, allocations: 9.295 MB / 0.8713 GB, free: 212 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008922/1.733, allocations: 5.676 MB / 0.8769 GB, free: 209.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002055/1.733, allocations: 55.72 kB / 0.8769 GB, free: 209.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.03218/1.766, allocations: 13.76 MB / 0.8904 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002748/1.766, allocations: 90.25 kB / 0.8905 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005833/1.766, allocations: 198.2 kB / 0.8906 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004198/1.771, allocations: 1.344 MB / 0.892 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009327/1.78, allocations: 2.238 MB / 0.8941 GB, free: 204.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/1.795, allocations: 12.92 MB / 0.9068 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/1.805, allocations: 0.5386 MB / 0.9073 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002509/1.807, allocations: 0.5641 MB / 0.9078 GB, free: 195.5 MB / 0.5762 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 (1174): * Single equations (assignments): 1167 * 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.01017/1.818, allocations: 3.886 MB / 0.9116 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001767/1.819, allocations: 0.6789 MB / 0.9123 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.83, allocations: 6.503 MB / 0.9187 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/1.83, allocations: 38.05 kB / 0.9187 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.83, allocations: 7.125 kB / 0.9187 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/1.83, allocations: 18.98 kB / 0.9187 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03022/1.86, allocations: 15.94 MB / 0.9343 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/1.86, allocations: 0 / 0.9343 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/1.863, allocations: 0.5599 MB / 0.9348 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/1.865, allocations: 0.9907 MB / 0.9358 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/1.866, allocations: 61.38 kB / 0.9359 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/1.876, allocations: 11.79 MB / 0.9474 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.876, allocations: 0 / 0.9474 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/1.89, allocations: 10.85 MB / 0.958 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004855/1.895, allocations: 1.25 MB / 0.9592 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002204/1.897, allocations: 69.25 kB / 0.9592 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004001/1.901, allocations: 204.7 kB / 0.9594 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005902/1.902, allocations: 198.4 kB / 0.9596 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.902, allocations: 83.66 kB / 0.9597 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01092/1.913, allocations: 5.381 MB / 0.965 GB, free: 151 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.41e-07/1.913, allocations: 0 / 0.965 GB, free: 151 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01131/1.924, allocations: 1.926 MB / 0.9668 GB, free: 149.1 MB / 0.5762 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.0008854/1.925, allocations: 220 kB / 0.9671 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01352/1.939, allocations: 9.216 MB / 0.9761 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.939, allocations: 0 / 0.9761 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003997/1.943, allocations: 3.392 MB / 0.9794 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005177/1.948, allocations: 0.9314 MB / 0.9803 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03425/1.982, allocations: 21.6 MB / 1.001 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0105/1.993, allocations: 6.127 MB / 1.007 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007906/2.001, allocations: 3.109 MB / 1.01 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/2.003, allocations: 467.4 kB / 1.011 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/2.003, allocations: 0 / 1.011 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.118/2.121, allocations: 72.79 MB / 1.082 GB, free: 31.17 MB / 0.5762 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: