Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001133/0.001133, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.562/1.562, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009593/0.0009591, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2444/0.2444, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5908, allocations: 106 MB / 0.5822 GB, free: 10.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.5912, allocations: 82.95 kB / 0.5823 GB, free: 10.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6725/1.264, allocations: 143.6 MB / 0.7225 GB, free: 95.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.245e-06/1.264, allocations: 0 / 0.7225 GB, free: 95.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005668/1.264, allocations: 144.6 kB / 0.7227 GB, free: 95.04 MB / 0.4948 GB 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.03028/1.295, allocations: 7.48 MB / 0.73 GB, free: 92.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.295, allocations: 12.75 kB / 0.73 GB, free: 92.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03707/1.332, allocations: 9.525 MB / 0.7393 GB, free: 91.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02813/1.36, allocations: 8.89 MB / 0.748 GB, free: 90.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007314/1.361, allocations: 0.5302 MB / 0.7485 GB, free: 90.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004815/1.366, allocations: 0.7048 MB / 0.7492 GB, free: 90.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04628/1.412, allocations: 16.69 MB / 0.7655 GB, free: 86.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009252/1.413, allocations: 103.4 kB / 0.7656 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005036/1.418, allocations: 341.6 kB / 0.7659 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002649/1.421, allocations: 1.529 MB / 0.7674 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03344/1.454, allocations: 13.36 MB / 0.7804 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09674/1.551, allocations: 72.67 MB / 0.8514 GB, free: 29.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.564, allocations: 5.942 MB / 0.8572 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/1.565, allocations: 51.12 kB / 0.8572 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/1.565, allocations: 71.88 kB / 0.8573 GB, free: 24.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 6.592e-06/1.565, allocations: 0 / 0.8573 GB, free: 24.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=267): time 0.0569/1.622, allocations: 22.87 MB / 0.8796 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/1.622, allocations: 257.2 kB / 0.8799 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01351/1.635, allocations: 6.26 MB / 0.886 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008876/1.636, allocations: 65.7 kB / 0.8861 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005973/1.642, allocations: 5.063 MB / 0.891 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.644, allocations: 1.02 MB / 0.892 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/1.645, allocations: 179.9 kB / 0.8922 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000624/1.646, allocations: 0.6696 MB / 0.8928 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005684/1.652, allocations: 2.97 MB / 0.8957 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2869/1.938, allocations: 8.238 MB / 0.9038 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009094/1.948, allocations: 4.837 MB / 0.9085 GB, free: 96.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003407/1.948, allocations: 53.47 kB / 0.9086 GB, free: 96.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.02618/1.974, allocations: 11.58 MB / 0.9199 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/1.974, allocations: 86.19 kB / 0.9199 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002309/1.975, allocations: 188.6 kB / 0.9201 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/1.976, allocations: 0.8419 MB / 0.921 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006745/1.983, allocations: 1.99 MB / 0.9229 GB, free: 95.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008764/1.992, allocations: 8.645 MB / 0.9313 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009095/2.001, allocations: 480.6 kB / 0.9318 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002448/2.004, allocations: 0.514 MB / 0.9323 GB, free: 91.5 MB / 0.5105 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.008858/2.013, allocations: 3.328 MB / 0.9355 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/2.014, allocations: 0.5946 MB / 0.9361 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007452/2.021, allocations: 4.553 MB / 0.9406 GB, free: 91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/2.021, allocations: 30.02 kB / 0.9406 GB, free: 91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/2.021, allocations: 8.188 kB / 0.9406 GB, free: 91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.159e-05/2.022, allocations: 10.36 kB / 0.9406 GB, free: 91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/2.043, allocations: 11.72 MB / 0.9521 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/2.043, allocations: 0 / 0.9521 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/2.045, allocations: 436.1 kB / 0.9525 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/2.046, allocations: 0.5226 MB / 0.953 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/2.046, allocations: 46.97 kB / 0.953 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006762/2.053, allocations: 7.734 MB / 0.9606 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.053, allocations: 0 / 0.9606 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/2.064, allocations: 8.039 MB / 0.9684 GB, free: 81.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003588/2.068, allocations: 1.007 MB / 0.9694 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/2.069, allocations: 47.16 kB / 0.9695 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/2.071, allocations: 150.3 kB / 0.9696 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003747/2.072, allocations: 165.7 kB / 0.9698 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/2.072, allocations: 67.11 kB / 0.9698 GB, free: 80.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007151/2.079, allocations: 4.436 MB / 0.9742 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.233e-06/2.079, allocations: 0 / 0.9742 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009672/2.089, allocations: 1.563 MB / 0.9757 GB, free: 79.06 MB / 0.5105 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.0006264/2.089, allocations: 194.7 kB / 0.9759 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01252/2.102, allocations: 7.502 MB / 0.9832 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/2.102, allocations: 0 / 0.9832 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003342/2.105, allocations: 2.548 MB / 0.9857 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004674/2.11, allocations: 0.7605 MB / 0.9864 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/2.139, allocations: 17.7 MB / 1.004 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007072/2.146, allocations: 5.217 MB / 1.009 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008308/2.155, allocations: 2.807 MB / 1.012 GB, free: 60.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/2.157, allocations: 396.8 kB / 1.012 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of SimCode: time 2.184e-06/2.157, allocations: 0 / 1.012 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.1042/2.261, allocations: 55.81 MB / 1.066 GB, free: 16.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches