Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 180.8 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.001131/0.001131, allocations: 93.47 kB / 271.9 MB, free: 8.246 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.5995/0.5995, allocations: 43.55 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004065, allocations: 19.94 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1694, allocations: 58.86 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5195/0.689, allocations: 107.9 MB / 0.5853 GB, free: 10.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.6894, allocations: 79.97 kB / 0.5854 GB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9893/1.679, allocations: 176.9 MB / 0.7581 GB, free: 77.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.35e-06/1.679, allocations: 0 / 0.7581 GB, free: 77.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000869/1.68, allocations: 183.9 kB / 0.7583 GB, free: 77.28 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.05023/1.73, allocations: 9.05 MB / 0.7671 GB, free: 72.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.554e-05/1.73, allocations: 7.5 kB / 0.7671 GB, free: 72.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0532/1.783, allocations: 7.417 MB / 0.7744 GB, free: 68.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03127/1.815, allocations: 8.65 MB / 0.7828 GB, free: 63.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001545/1.816, allocations: 0.6953 MB / 0.7835 GB, free: 63.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008268/1.825, allocations: 0.9247 MB / 0.7844 GB, free: 62.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08493/1.91, allocations: 22.18 MB / 0.8061 GB, free: 41.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009116/1.911, allocations: 111 kB / 0.8062 GB, free: 41.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006323/1.917, allocations: 439.8 kB / 0.8066 GB, free: 40.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00475/1.922, allocations: 2.093 MB / 0.8086 GB, free: 38.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05784/1.98, allocations: 18.45 MB / 0.8266 GB, free: 20.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6232/2.603, allocations: 91.5 MB / 0.916 GB, free: 41.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02335/2.626, allocations: 9.242 MB / 0.925 GB, free: 40.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009152/2.636, allocations: 5.69 MB / 0.9306 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004731/2.636, allocations: 86.06 kB / 0.9307 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.692e-05/2.636, allocations: 86.67 kB / 0.9307 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 9.598e-06/2.636, allocations: 0 / 0.9307 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.1454/2.782, allocations: 44.13 MB / 0.9738 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002146/2.782, allocations: 283.3 kB / 0.9741 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03052/2.812, allocations: 8.304 MB / 0.9822 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001962/2.814, allocations: 99.22 kB / 0.9823 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.009441/2.824, allocations: 6.117 MB / 0.9883 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004701/2.829, allocations: 1.742 MB / 0.99 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003197/2.832, allocations: 224.8 kB / 0.9902 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0023/2.834, allocations: 0.7831 MB / 0.991 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01636/2.851, allocations: 5.04 MB / 0.9959 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01751/2.868, allocations: 11.16 MB / 1.007 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02647/2.895, allocations: 17.53 MB / 1.024 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003685/2.895, allocations: 62.41 kB / 1.024 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.04727/2.943, allocations: 18.32 MB / 1.042 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005008/2.943, allocations: 99.94 kB / 1.042 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006437/2.944, allocations: 212 kB / 1.042 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/2.954, allocations: 2.44 MB / 1.045 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01754/2.971, allocations: 2.684 MB / 1.047 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03469/3.006, allocations: 16.96 MB / 1.064 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01824/3.025, allocations: 0.6829 MB / 1.064 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004457/3.029, allocations: 0.6388 MB / 1.065 GB, free: 10.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 966 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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 (1365): * Single equations (assignments): 1359 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01941/3.049, allocations: 4.198 MB / 1.069 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004325/3.053, allocations: 0.7443 MB / 1.07 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5026/3.556, allocations: 10.84 MB / 1.08 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001808/3.556, allocations: 49.03 kB / 1.08 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001788/3.556, allocations: 19.5 kB / 1.08 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002227/3.556, allocations: 30.48 kB / 1.081 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0915/3.648, allocations: 22.97 MB / 1.103 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001471/3.648, allocations: 4.156 kB / 1.103 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009043/3.657, allocations: 0.8795 MB / 1.104 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01107/3.668, allocations: 2.132 MB / 1.106 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001982/3.67, allocations: 89.25 kB / 1.106 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04104/3.711, allocations: 15.74 MB / 1.121 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.57e-05/3.711, allocations: 5.594 kB / 1.121 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05444/3.766, allocations: 17.06 MB / 1.138 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008952/3.775, allocations: 1.611 MB / 1.14 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004485/3.78, allocations: 75.44 kB / 1.14 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01021/3.79, allocations: 359.5 kB / 1.14 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002521/3.792, allocations: 286 kB / 1.14 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001517/3.794, allocations: 128.6 kB / 1.14 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.02009/3.814, allocations: 5.289 MB / 1.146 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.412e-06/3.814, allocations: 0 / 1.146 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0208/3.835, allocations: 2.279 MB / 1.148 GB, free: 121.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (406): * Single equations (assignments): 400 * 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 {(4,75.0%) 18,(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.002034/3.837, allocations: 246.5 kB / 1.148 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03719/3.874, allocations: 12.56 MB / 1.16 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.941e-05/3.874, allocations: 3.781 kB / 1.16 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01786/3.892, allocations: 5.36 MB / 1.166 GB, free: 115 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02587/3.918, allocations: 0.9915 MB / 1.166 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0859/4.004, allocations: 26.51 MB / 1.192 GB, free: 100 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02658/4.031, allocations: 6.407 MB / 1.199 GB, free: 95.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005739/4.037, allocations: 0.6124 MB / 1.199 GB, free: 94.64 MB / 0.5573 GB Notification: Performance of SimCode: time 2.244e-06/4.037, allocations: 0 / 1.199 GB, free: 94.64 MB / 0.5573 GB Notification: Performance of Templates: time 0.9749/5.012, allocations: 247.6 MB / 1.441 GB, free: 23.14 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches