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.001112/0.001112, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.248/1.248, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007797/0.0007796, allocations: 93.11 kB / 267.1 MB, free: 9.285 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.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.784e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3632/0.4765, allocations: 107.6 MB / 0.5779 GB, free: 14.31 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4767, allocations: 74.97 kB / 0.578 GB, free: 14.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6705/1.147, allocations: 179.7 MB / 0.7535 GB, free: 77.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.854e-06/1.147, allocations: 0 / 0.7535 GB, free: 77.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008871/1.148, allocations: 181.3 kB / 0.7537 GB, free: 77.49 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.03046/1.179, allocations: 8.803 MB / 0.7623 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/1.179, allocations: 15.66 kB / 0.7623 GB, free: 74.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03763/1.216, allocations: 9.876 MB / 0.7719 GB, free: 73.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02148/1.238, allocations: 9.843 MB / 0.7815 GB, free: 72.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005063/1.238, allocations: 0.6969 MB / 0.7822 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003653/1.242, allocations: 0.9185 MB / 0.7831 GB, free: 72.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0459/1.288, allocations: 22.17 MB / 0.8048 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000393/1.288, allocations: 115.4 kB / 0.8049 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00183/1.29, allocations: 437.8 kB / 0.8053 GB, free: 61.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/1.293, allocations: 2.086 MB / 0.8073 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03395/1.326, allocations: 18.41 MB / 0.8253 GB, free: 51.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3982/1.725, allocations: 91.6 MB / 0.9147 GB, free: 47.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/1.745, allocations: 9.324 MB / 0.9239 GB, free: 47.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00611/1.751, allocations: 5.611 MB / 0.9293 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/1.751, allocations: 86.38 kB / 0.9294 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.751, allocations: 87.47 kB / 0.9295 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=412): time 6.552e-06/1.751, allocations: 0 / 0.9295 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=475): time 0.09124/1.842, allocations: 38.56 MB / 0.9672 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/1.843, allocations: 284.4 kB / 0.9674 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.853, allocations: 7.335 MB / 0.9746 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001434/1.854, allocations: 96.89 kB / 0.9747 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004456/1.859, allocations: 6.121 MB / 0.9807 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002423/1.861, allocations: 1.748 MB / 0.9824 GB, free: 34.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009354/1.862, allocations: 227 kB / 0.9826 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005196/1.863, allocations: 0.7792 MB / 0.9833 GB, free: 34.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006673/1.869, allocations: 4.93 MB / 0.9882 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/1.882, allocations: 10.99 MB / 0.9989 GB, free: 22.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.892, allocations: 7.293 MB / 1.006 GB, free: 20.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001888/1.892, allocations: 64.47 kB / 1.006 GB, free: 20.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.03248/1.925, allocations: 18.09 MB / 1.024 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.925, allocations: 92.81 kB / 1.024 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/1.925, allocations: 217.6 kB / 1.024 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00525/1.93, allocations: 2.467 MB / 1.026 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009344/1.94, allocations: 2.68 MB / 1.029 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/1.959, allocations: 16.96 MB / 1.046 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/1.972, allocations: 0.6864 MB / 1.046 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002728/1.975, allocations: 0.6424 MB / 1.047 GB, free: 14.85 MB / 0.5417 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 () * 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.002228/1.977, allocations: 0.9536 MB / 1.048 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/1.979, allocations: 0.7443 MB / 1.049 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/1.998, allocations: 10.67 MB / 1.059 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.059e-05/1.998, allocations: 48.7 kB / 1.059 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.084e-05/1.998, allocations: 14.84 kB / 1.059 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.89e-05/1.998, allocations: 20.02 kB / 1.059 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05164/2.05, allocations: 22.88 MB / 1.081 GB, free: 2.012 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/2.05, allocations: 4 kB / 1.081 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0046/2.054, allocations: 0.8764 MB / 1.082 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00611/2.06, allocations: 2.202 MB / 1.084 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001192/2.062, allocations: 115.6 kB / 1.085 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/2.083, allocations: 15.7 MB / 1.1 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/2.083, allocations: 7.938 kB / 1.1 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03584/2.118, allocations: 18.14 MB / 1.118 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006952/2.125, allocations: 1.6 MB / 1.119 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00275/2.128, allocations: 87.98 kB / 1.119 GB, free: 100 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3031/2.431, allocations: 348.4 kB / 1.12 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001649/2.433, allocations: 290.7 kB / 1.12 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004698/2.433, allocations: 124.4 kB / 1.12 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01158/2.445, allocations: 5.213 MB / 1.125 GB, free: 150 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.042e-06/2.445, allocations: 0 / 1.125 GB, free: 150 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01244/2.458, allocations: 2.276 MB / 1.127 GB, free: 150 MB / 0.5886 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 () * 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.001385/2.459, allocations: 250.9 kB / 1.128 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01989/2.479, allocations: 12.35 MB / 1.14 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/2.479, allocations: 0 / 1.14 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007937/2.487, allocations: 5.268 MB / 1.145 GB, free: 149 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005577/2.492, allocations: 0.9409 MB / 1.146 GB, free: 149 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/2.528, allocations: 18.46 MB / 1.164 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009693/2.538, allocations: 6.603 MB / 1.17 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.009742/2.548, allocations: 3.782 MB / 1.174 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/2.55, allocations: 0.5241 MB / 1.174 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/2.55, allocations: 0 / 1.174 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.1371/2.687, allocations: 88.39 MB / 1.261 GB, free: 108.5 MB / 0.5886 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/jenkins/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