Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002444/0.002443, allocations: 185.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 90.84 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5115/0.5115, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004546, allocations: 8 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 58.86 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.6182, allocations: 106 MB / 0.5822 GB, free: 12.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.6186, allocations: 79.97 kB / 0.5823 GB, free: 12.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9287/1.547, allocations: 143.6 MB / 0.7225 GB, free: 84.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.547, allocations: 2.156 kB / 0.7225 GB, free: 84.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005396/1.548, allocations: 143.8 kB / 0.7226 GB, free: 84.26 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.03438/1.582, allocations: 7.479 MB / 0.7299 GB, free: 81.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.582, allocations: 11.44 kB / 0.73 GB, free: 81.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07131/1.654, allocations: 9.532 MB / 0.7393 GB, free: 80.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03188/1.686, allocations: 8.881 MB / 0.7479 GB, free: 78.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007588/1.686, allocations: 0.5326 MB / 0.7485 GB, free: 78.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004063/1.69, allocations: 0.7069 MB / 0.7491 GB, free: 78.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05175/1.742, allocations: 16.69 MB / 0.7654 GB, free: 69.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006397/1.743, allocations: 104.1 kB / 0.7655 GB, free: 69.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003768/1.747, allocations: 343.2 kB / 0.7659 GB, free: 69.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003453/1.75, allocations: 1.52 MB / 0.7674 GB, free: 68.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04235/1.793, allocations: 13.36 MB / 0.7804 GB, free: 64.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1146/1.907, allocations: 72.69 MB / 0.8514 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02603/1.933, allocations: 5.926 MB / 0.8572 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/1.934, allocations: 52.03 kB / 0.8572 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.806e-05/1.934, allocations: 60.12 kB / 0.8573 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 6.773e-06/1.934, allocations: 0 / 0.8573 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=267): time 0.4726/2.407, allocations: 22.87 MB / 0.8796 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/2.407, allocations: 263.2 kB / 0.8799 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01726/2.424, allocations: 6.222 MB / 0.886 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007363/2.425, allocations: 65.38 kB / 0.886 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00472/2.43, allocations: 4.801 MB / 0.8907 GB, free: 83.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/2.431, allocations: 1.037 MB / 0.8917 GB, free: 83.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/2.433, allocations: 168.3 kB / 0.8919 GB, free: 83.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008208/2.434, allocations: 0.6775 MB / 0.8925 GB, free: 82.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008925/2.443, allocations: 2.972 MB / 0.8954 GB, free: 82.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01407/2.457, allocations: 8.245 MB / 0.9035 GB, free: 76.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/2.47, allocations: 4.826 MB / 0.9082 GB, free: 74.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004767/2.471, allocations: 53.09 kB / 0.9083 GB, free: 74.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.03389/2.505, allocations: 11.32 MB / 0.9193 GB, free: 70.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/2.505, allocations: 89.14 kB / 0.9194 GB, free: 70.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003281/2.505, allocations: 187.8 kB / 0.9196 GB, free: 70.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/2.509, allocations: 0.8447 MB / 0.9204 GB, free: 70.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01372/2.523, allocations: 1.991 MB / 0.9223 GB, free: 70.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/2.537, allocations: 8.651 MB / 0.9308 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0114/2.549, allocations: 475.5 kB / 0.9312 GB, free: 64.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00237/2.551, allocations: 0.5136 MB / 0.9317 GB, free: 64.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1059): * Single equations (assignments): 1053 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01096/2.562, allocations: 3.323 MB / 0.935 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/2.564, allocations: 0.5899 MB / 0.9356 GB, free: 62.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/2.578, allocations: 4.557 MB / 0.94 GB, free: 60.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.397e-05/2.578, allocations: 31.44 kB / 0.94 GB, free: 60.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/2.578, allocations: 10.5 kB / 0.9401 GB, free: 60.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/2.578, allocations: 15.45 kB / 0.9401 GB, free: 60.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03627/2.614, allocations: 11.7 MB / 0.9515 GB, free: 56.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/2.614, allocations: 3.625 kB / 0.9515 GB, free: 56.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004571/2.619, allocations: 441.3 kB / 0.9519 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/2.622, allocations: 0.524 MB / 0.9524 GB, free: 55.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006936/2.622, allocations: 52.38 kB / 0.9525 GB, free: 55.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/2.635, allocations: 7.729 MB / 0.96 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/2.635, allocations: 0 / 0.96 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/2.655, allocations: 8.038 MB / 0.9679 GB, free: 46.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004496/2.66, allocations: 1.011 MB / 0.9689 GB, free: 46.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002362/2.662, allocations: 43.06 kB / 0.9689 GB, free: 46.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005621/2.668, allocations: 154.3 kB / 0.9691 GB, free: 46.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/2.669, allocations: 161 kB / 0.9692 GB, free: 46.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003068/2.669, allocations: 68.81 kB / 0.9693 GB, free: 46.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01296/2.682, allocations: 4.434 MB / 0.9736 GB, free: 44.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.32e-07/2.682, allocations: 0 / 0.9736 GB, free: 44.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01226/2.695, allocations: 1.563 MB / 0.9751 GB, free: 44.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.001098/2.696, allocations: 197.1 kB / 0.9753 GB, free: 44.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01789/2.714, allocations: 7.496 MB / 0.9826 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/2.714, allocations: 0 / 0.9826 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005586/2.719, allocations: 2.545 MB / 0.9851 GB, free: 36.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006851/2.726, allocations: 0.7696 MB / 0.9859 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04322/2.769, allocations: 18.49 MB / 1.004 GB, free: 18.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01174/2.781, allocations: 5.213 MB / 1.009 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002756/2.784, allocations: 464.3 kB / 1.009 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of SimCode: time 1.313e-06/2.784, allocations: 0 / 1.009 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.7275/3.512, allocations: 177.8 MB / 1.183 GB, free: 39.29 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches