Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001053/0.001053, allocations: 171 kB / 16.76 MB, free: 4.934 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.492/1.492, allocations: 205.4 MB / 222.9 MB, free: 8.918 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.0007861/0.0007862, allocations: 82.42 kB / 271.3 MB, free: 8.238 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.3506/0.3506, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 12 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1136, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4529, allocations: 107.9 MB / 0.5853 GB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4532, allocations: 79.95 kB / 0.5854 GB, free: 9.992 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6407/1.094, allocations: 176.9 MB / 0.7581 GB, free: 77.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.727e-06/1.094, allocations: 0 / 0.7581 GB, free: 77.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005974/1.095, allocations: 183.4 kB / 0.7583 GB, free: 77.53 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.02841/1.123, allocations: 9.052 MB / 0.7671 GB, free: 72.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.123, allocations: 14.8 kB / 0.7672 GB, free: 72.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03054/1.154, allocations: 7.401 MB / 0.7744 GB, free: 68.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01848/1.172, allocations: 8.66 MB / 0.7828 GB, free: 63.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006713/1.173, allocations: 0.692 MB / 0.7835 GB, free: 63.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004185/1.177, allocations: 0.9213 MB / 0.7844 GB, free: 62.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04779/1.225, allocations: 22.18 MB / 0.8061 GB, free: 40.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006056/1.225, allocations: 114.9 kB / 0.8062 GB, free: 40.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003372/1.229, allocations: 439.8 kB / 0.8066 GB, free: 40.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002523/1.231, allocations: 2.085 MB / 0.8086 GB, free: 38.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0344/1.266, allocations: 18.45 MB / 0.8267 GB, free: 19.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3723/1.638, allocations: 91.5 MB / 0.916 GB, free: 41.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0208/1.659, allocations: 9.244 MB / 0.925 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007465/1.667, allocations: 5.69 MB / 0.9306 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/1.667, allocations: 87.78 kB / 0.9307 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/1.667, allocations: 81.16 kB / 0.9308 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 7.544e-06/1.667, allocations: 0 / 0.9308 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.1133/1.78, allocations: 44.13 MB / 0.9739 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.78, allocations: 283.5 kB / 0.9741 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01246/1.793, allocations: 8.308 MB / 0.9822 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001195/1.794, allocations: 97.61 kB / 0.9823 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003855/1.798, allocations: 6.119 MB / 0.9883 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002296/1.8, allocations: 1.744 MB / 0.99 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006649/1.801, allocations: 221.2 kB / 0.9902 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005469/1.802, allocations: 0.78 MB / 0.991 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006774/1.808, allocations: 5.053 MB / 0.9959 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/1.821, allocations: 11.15 MB / 1.007 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02412/1.845, allocations: 17.53 MB / 1.024 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003612/1.846, allocations: 62.09 kB / 1.024 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.04161/1.887, allocations: 18.35 MB / 1.042 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002816/1.888, allocations: 96.94 kB / 1.042 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004736/1.888, allocations: 212 kB / 1.042 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006319/1.895, allocations: 2.449 MB / 1.045 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01101/1.906, allocations: 2.675 MB / 1.047 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/1.929, allocations: 16.97 MB / 1.064 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/1.939, allocations: 0.6759 MB / 1.064 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002852/1.942, allocations: 0.6407 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.01193/1.954, allocations: 4.201 MB / 1.069 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002743/1.957, allocations: 0.7443 MB / 1.07 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.29/2.247, allocations: 10.84 MB / 1.08 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.122e-05/2.247, allocations: 52.69 kB / 1.081 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.417e-05/2.247, allocations: 16.42 kB / 1.081 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/2.247, allocations: 22.91 kB / 1.081 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04695/2.294, allocations: 22.98 MB / 1.103 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.342e-05/2.294, allocations: 3 kB / 1.103 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004322/2.299, allocations: 0.8755 MB / 1.104 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005139/2.304, allocations: 2.134 MB / 1.106 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/2.305, allocations: 87.55 kB / 1.106 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/2.326, allocations: 15.74 MB / 1.121 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/2.326, allocations: 7.281 kB / 1.121 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02599/2.352, allocations: 17.06 MB / 1.138 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004983/2.357, allocations: 1.603 MB / 1.14 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/2.359, allocations: 87.66 kB / 1.14 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004409/2.364, allocations: 359.6 kB / 1.14 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000894/2.364, allocations: 290.8 kB / 1.14 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003583/2.365, allocations: 125.2 kB / 1.14 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008996/2.374, allocations: 5.286 MB / 1.146 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/2.374, allocations: 2.188 kB / 1.146 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01367/2.387, allocations: 2.267 MB / 1.148 GB, free: 121.6 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.001717/2.389, allocations: 258 kB / 1.148 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01882/2.408, allocations: 12.55 MB / 1.16 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/2.408, allocations: 3.062 kB / 1.16 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007906/2.416, allocations: 5.356 MB / 1.166 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01244/2.429, allocations: 0.9919 MB / 1.167 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04343/2.472, allocations: 25.48 MB / 1.191 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/2.484, allocations: 6.407 MB / 1.198 GB, free: 96.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01354/2.498, allocations: 3.774 MB / 1.201 GB, free: 93.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002929/2.501, allocations: 0.5223 MB / 1.202 GB, free: 93.11 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/2.501, allocations: 4 kB / 1.202 GB, free: 93.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.3802/2.881, allocations: 88.71 MB / 1.289 GB, free: 129.4 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches