Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001219/0.001219, 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.001682/0.001682, allocations: 191.7 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.719/1.719, allocations: 205.1 MB / 222 MB, free: 4.766 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.3851/0.3851, allocations: 37.98 MB / 307.3 MB, free: 10.05 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.0017/0.0017, allocations: 59.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1322, allocations: 56.48 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4009/0.5332, allocations: 125.8 MB / 0.5437 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07306/0.6063, allocations: 23.52 MB / 0.5667 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04463/0.651, allocations: 0.53 MB / 0.5672 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01448/0.6656, allocations: 6.409 MB / 0.5735 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.6776, allocations: 3.145 MB / 0.5765 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005079/0.6827, allocations: 1.5 MB / 0.578 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02032/0.7031, allocations: 14.2 MB / 0.5919 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/0.7159, allocations: 8.216 MB / 0.5999 GB, free: 12 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008722/0.7247, allocations: 3.029 MB / 0.6029 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009325/0.734, allocations: 5.063 MB / 0.6078 GB, free: 7.895 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003009/0.7371, allocations: 0.5273 MB / 0.6083 GB, free: 7.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005629/0.7428, allocations: 1.6 MB / 0.6099 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006555/0.7493, allocations: 4.126 MB / 0.6139 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01013/0.7595, allocations: 4.59 MB / 0.6184 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.7077/1.467, allocations: 14.33 MB / 0.6324 GB, free: 30.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.467, allocations: 1.688 kB / 0.6324 GB, free: 30.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.467, allocations: 0 / 0.6324 GB, free: 30.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006143/1.468, allocations: 0 / 0.6324 GB, free: 30.1 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.03443/1.502, allocations: 10.07 MB / 0.6422 GB, free: 26.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.502, allocations: 9.406 kB / 0.6422 GB, free: 26.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/1.522, allocations: 3.729 MB / 0.6459 GB, free: 26.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/1.541, allocations: 6.564 MB / 0.6523 GB, free: 25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/1.542, allocations: 0.4885 MB / 0.6528 GB, free: 24.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004695/1.547, allocations: 0.6655 MB / 0.6534 GB, free: 24.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04634/1.593, allocations: 19.91 MB / 0.6729 GB, free: 21.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006087/1.594, allocations: 86.95 kB / 0.6729 GB, free: 21.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002617/1.596, allocations: 312.7 kB / 0.6732 GB, free: 21.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005815/1.602, allocations: 3.615 MB / 0.6768 GB, free: 21.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03357/1.636, allocations: 16.74 MB / 0.6931 GB, free: 16.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/1.738, allocations: 73.14 MB / 0.7645 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/1.76, allocations: 8.493 MB / 0.7728 GB, free: 13.86 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006982/1.767, allocations: 4.549 MB / 0.7773 GB, free: 9.301 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008938/1.768, allocations: 0.673 MB / 0.7779 GB, free: 8.539 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.963e-05/1.768, allocations: 67.12 kB / 0.778 GB, free: 8.461 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=311): time 5.951e-06/1.768, allocations: 0 / 0.778 GB, free: 8.461 MB / 0.5607 GB Notification: Performance of matching and sorting (n=335): time 0.09995/1.868, allocations: 35.73 MB / 0.8129 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002909/1.868, allocations: 301.9 kB / 0.8132 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01486/1.883, allocations: 7.817 MB / 0.8208 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001126/1.884, allocations: 81.7 kB / 0.8209 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005792/1.89, allocations: 5.737 MB / 0.8265 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00258/1.893, allocations: 1.276 MB / 0.8277 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003982/1.897, allocations: 2.085 MB / 0.8298 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.897, allocations: 301.1 kB / 0.8301 GB, free: 3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006384/1.903, allocations: 4.119 MB / 0.8341 GB, free: 14.88 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01094/1.914, allocations: 9.839 MB / 0.8437 GB, free: 2.34 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01965/1.934, allocations: 14.91 MB / 0.8583 GB, free: 1.469 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001946/1.934, allocations: 56 kB / 0.8583 GB, free: 1.414 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.3021/2.236, allocations: 15.82 MB / 0.8738 GB, free: 284.2 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/2.237, allocations: 92.38 kB / 0.8738 GB, free: 284.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004141/2.237, allocations: 199 kB / 0.874 GB, free: 284.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00657/2.244, allocations: 2.334 MB / 0.8763 GB, free: 283.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008787/2.253, allocations: 2.352 MB / 0.8786 GB, free: 283.5 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/2.272, allocations: 15.61 MB / 0.8939 GB, free: 274.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009658/2.282, allocations: 0.5771 MB / 0.8944 GB, free: 274.3 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002479/2.284, allocations: 0.5856 MB / 0.895 GB, free: 274.2 MB / 0.6388 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009852/2.294, allocations: 3.883 MB / 0.8988 GB, free: 272.5 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002136/2.296, allocations: 0.6724 MB / 0.8994 GB, free: 272.5 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/2.313, allocations: 7.992 MB / 0.9072 GB, free: 269.8 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/2.314, allocations: 35.91 kB / 0.9073 GB, free: 269.8 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.781e-05/2.314, allocations: 11.88 kB / 0.9073 GB, free: 269.8 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001198/2.314, allocations: 15.33 kB / 0.9073 GB, free: 269.8 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04025/2.354, allocations: 17.39 MB / 0.9243 GB, free: 263.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/2.354, allocations: 3.938 kB / 0.9243 GB, free: 263.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00289/2.357, allocations: 0.5566 MB / 0.9248 GB, free: 263.8 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/2.362, allocations: 1.999 MB / 0.9268 GB, free: 263.4 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006112/2.363, allocations: 61.33 kB / 0.9269 GB, free: 263.4 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/2.377, allocations: 14.45 MB / 0.941 GB, free: 250 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/2.377, allocations: 4 kB / 0.941 GB, free: 250 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/2.394, allocations: 12.4 MB / 0.9531 GB, free: 237.7 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004077/2.398, allocations: 1.277 MB / 0.9543 GB, free: 236.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/2.4, allocations: 63.66 kB / 0.9544 GB, free: 236.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003324/2.403, allocations: 227.7 kB / 0.9546 GB, free: 236.1 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005859/2.404, allocations: 198.2 kB / 0.9548 GB, free: 235.9 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/2.404, allocations: 89.06 kB / 0.9549 GB, free: 235.9 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007462/2.412, allocations: 4.992 MB / 0.9597 GB, free: 230.9 MB / 0.6388 GB Notification: Performance of sort global known variables: time 4.71e-07/2.412, allocations: 0.875 kB / 0.9598 GB, free: 230.9 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01095/2.423, allocations: 2.009 MB / 0.9617 GB, free: 228.9 MB / 0.6388 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008442/2.423, allocations: 213.6 kB / 0.9619 GB, free: 228.7 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01359/2.437, allocations: 10.1 MB / 0.9718 GB, free: 218.6 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/2.437, allocations: 4.562 kB / 0.9718 GB, free: 218.6 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.004176/2.441, allocations: 3.667 MB / 0.9754 GB, free: 214.9 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005307/2.447, allocations: 0.921 MB / 0.9763 GB, free: 214 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03037/2.477, allocations: 22.99 MB / 0.9987 GB, free: 191 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008172/2.485, allocations: 5.956 MB / 1.005 GB, free: 185 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.007618/2.493, allocations: 3.079 MB / 1.008 GB, free: 181.9 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/2.495, allocations: 451.4 kB / 1.008 GB, free: 181.4 MB / 0.6388 GB Notification: Performance of SimCode: time 3.096e-06/2.495, allocations: 0 / 1.008 GB, free: 181.4 MB / 0.6388 GB Notification: Performance of Templates: time 0.1169/2.612, allocations: 78.43 MB / 1.085 GB, free: 103.1 MB / 0.6388 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)