Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009213/0.0009213, allocations: 92.45 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1866/0.1866, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.045e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 61.9 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5644, allocations: 106.3 MB / 0.5985 GB, free: 6.176 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.5647, allocations: 79.95 kB / 0.5986 GB, free: 6.098 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5935/1.158, allocations: 130.2 MB / 0.7257 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.443e-06/1.158, allocations: 0 / 0.7257 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003615/1.159, allocations: 130.5 kB / 0.7258 GB, free: 103.9 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01788/1.177, allocations: 6.367 MB / 0.732 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.177, allocations: 11.61 kB / 0.732 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03719/1.214, allocations: 9.423 MB / 0.7412 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/1.233, allocations: 8.103 MB / 0.7492 GB, free: 99.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/1.233, allocations: 211.3 kB / 0.7494 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/1.236, allocations: 393.8 kB / 0.7497 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01698/1.253, allocations: 8.43 MB / 0.758 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0255/1.279, allocations: 13.29 MB / 0.7709 GB, free: 92.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004662/1.279, allocations: 101 kB / 0.771 GB, free: 92.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002307/1.281, allocations: 44.25 kB / 0.7711 GB, free: 92.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001887/1.283, allocations: 1.343 MB / 0.7724 GB, free: 91.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06339/1.347, allocations: 64.93 MB / 0.8358 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/1.351, allocations: 3.991 MB / 0.8397 GB, free: 31.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/1.353, allocations: 2.519 MB / 0.8422 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.119e-05/1.354, allocations: 36.09 kB / 0.8422 GB, free: 29.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.354, allocations: 63.27 kB / 0.8423 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=186): time 4.658e-06/1.354, allocations: 0 / 0.8423 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=207): time 0.03671/1.39, allocations: 23.21 MB / 0.8649 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/1.39, allocations: 256.5 kB / 0.8652 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006042/1.396, allocations: 4.657 MB / 0.8697 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003722/1.397, allocations: 25.7 kB / 0.8697 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003215/1.4, allocations: 4.757 MB / 0.8744 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.401, allocations: 0.8023 MB / 0.8752 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/1.401, allocations: 0 / 0.8752 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004655/1.402, allocations: 0.6448 MB / 0.8758 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00321/1.405, allocations: 2.3 MB / 0.878 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007114/1.412, allocations: 7.337 MB / 0.8852 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/1.418, allocations: 4.083 MB / 0.8892 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.902e-05/1.418, allocations: 55.94 kB / 0.8893 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.01975/1.438, allocations: 9.064 MB / 0.8981 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.438, allocations: 87.95 kB / 0.8982 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/1.438, allocations: 180 kB / 0.8984 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/1.441, allocations: 0.8128 MB / 0.8992 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3481/1.789, allocations: 1.814 MB / 0.9009 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/1.805, allocations: 8.184 MB / 0.9089 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/1.817, allocations: 271.3 kB / 0.9092 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002756/1.82, allocations: 0.4919 MB / 0.9097 GB, free: 114.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (972): * Single equations (assignments): 966 * 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.002618/1.823, allocations: 0.5535 MB / 0.9102 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001596/1.824, allocations: 482.3 kB / 0.9107 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.835, allocations: 3.221 MB / 0.9138 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.322e-05/1.835, allocations: 22.75 kB / 0.9138 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/1.835, allocations: 7.125 kB / 0.9138 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-05/1.835, allocations: 10.33 kB / 0.9138 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/1.861, allocations: 8.445 MB / 0.9221 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.861, allocations: 3.625 kB / 0.9221 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/1.863, allocations: 319.3 kB / 0.9224 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/1.865, allocations: 0.5159 MB / 0.9229 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/1.865, allocations: 10.92 kB / 0.9229 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007102/1.872, allocations: 7.256 MB / 0.93 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.872, allocations: 3.375 kB / 0.93 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00709/1.879, allocations: 5.99 MB / 0.9358 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.88, allocations: 0.5016 MB / 0.9363 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004597/1.881, allocations: 1.875 kB / 0.9363 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.883, allocations: 86.59 kB / 0.9364 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/1.883, allocations: 121.1 kB / 0.9365 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.883, allocations: 55.02 kB / 0.9366 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004697/1.888, allocations: 3.159 MB / 0.9397 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.888, allocations: 0 / 0.9397 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01016/1.898, allocations: 1.2 MB / 0.9408 GB, free: 108.3 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * 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.0009024/1.899, allocations: 150.8 kB / 0.941 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.91, allocations: 5.879 MB / 0.9467 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.91, allocations: 0 / 0.9467 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003646/1.914, allocations: 1.905 MB / 0.9486 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005248/1.919, allocations: 0.6193 MB / 0.9492 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03393/1.953, allocations: 10.78 MB / 0.9597 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01143/1.964, allocations: 4.812 MB / 0.9644 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0116/1.976, allocations: 2.49 MB / 0.9669 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/1.978, allocations: 310.1 kB / 0.9671 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/1.978, allocations: 3.125 kB / 0.9672 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of Templates: time 0.1275/2.105, allocations: 42 MB / 1.008 GB, free: 82.59 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches