Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 170.4 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.353/1.353, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0009315/0.0009315, allocations: 96.16 kB / 281.6 MB, free: 5.266 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.2115/0.2115, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.439e-05/1.441e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1307, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5591, allocations: 107.6 MB / 0.5997 GB, free: 4.934 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.5594, allocations: 71.97 kB / 0.5998 GB, free: 4.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6673/1.227, allocations: 158.1 MB / 0.7542 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.926e-06/1.227, allocations: 0 / 0.7542 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006562/1.227, allocations: 164.9 kB / 0.7544 GB, free: 102.6 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: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.02639/1.254, allocations: 8.043 MB / 0.7622 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.254, allocations: 11.67 kB / 0.7622 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03771/1.292, allocations: 9.686 MB / 0.7717 GB, free: 97.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02438/1.316, allocations: 8.936 MB / 0.7804 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004642/1.317, allocations: 266.5 kB / 0.7807 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004023/1.321, allocations: 494.8 kB / 0.7811 GB, free: 93.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02253/1.343, allocations: 11.27 MB / 0.7921 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03795/1.381, allocations: 17.07 MB / 0.8088 GB, free: 66.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004663/1.382, allocations: 103.1 kB / 0.8089 GB, free: 66.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002784/1.384, allocations: 44 kB / 0.8089 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002123/1.387, allocations: 1.78 MB / 0.8107 GB, free: 64.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08556/1.472, allocations: 79.93 MB / 0.8887 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008197/1.48, allocations: 6.643 MB / 0.8952 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005515/1.486, allocations: 4.64 MB / 0.8998 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/1.486, allocations: 62.02 kB / 0.8998 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/1.486, allocations: 68.59 kB / 0.8999 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 5.641e-06/1.486, allocations: 0 / 0.8999 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of matching and sorting (n=365): time 0.3826/1.869, allocations: 35.64 MB / 0.9347 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/1.869, allocations: 272.4 kB / 0.9349 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00816/1.877, allocations: 5.078 MB / 0.9399 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001189/1.878, allocations: 25.7 kB / 0.9399 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0034/1.882, allocations: 5.594 MB / 0.9454 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00209/1.884, allocations: 1.336 MB / 0.9467 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000639/1.885, allocations: 2.516 kB / 0.9467 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005146/1.885, allocations: 0.7262 MB / 0.9474 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004854/1.89, allocations: 3.902 MB / 0.9512 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007368/1.897, allocations: 9.512 MB / 0.9605 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008142/1.906, allocations: 6.021 MB / 0.9664 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/1.906, allocations: 56.41 kB / 0.9664 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.02796/1.934, allocations: 14.43 MB / 0.9805 GB, free: 96.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.934, allocations: 89.97 kB / 0.9806 GB, free: 96.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002236/1.934, allocations: 198.9 kB / 0.9808 GB, free: 96.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005539/1.94, allocations: 2.462 MB / 0.9832 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008153/1.948, allocations: 2.323 MB / 0.9855 GB, free: 95.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/1.965, allocations: 15.81 MB / 1.001 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0082/1.974, allocations: 396.7 kB / 1.001 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/1.975, allocations: 0.5804 MB / 1.002 GB, free: 84.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 909 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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 (1192): * Single equations (assignments): 1186 * 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%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001486/1.977, allocations: 0.6411 MB / 1.002 GB, free: 83.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.978, allocations: 0.5592 MB / 1.003 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.99, allocations: 8.334 MB / 1.011 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.597e-05/1.99, allocations: 38.62 kB / 1.011 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/1.991, allocations: 12 kB / 1.011 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.549e-05/1.991, allocations: 18.86 kB / 1.011 GB, free: 76.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02708/2.018, allocations: 17.41 MB / 1.028 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/2.018, allocations: 9.484 kB / 1.028 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/2.021, allocations: 0.6386 MB / 1.029 GB, free: 61.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004779/2.026, allocations: 2.107 MB / 1.031 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004998/2.026, allocations: 11.09 kB / 1.031 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/2.043, allocations: 14.72 MB / 1.045 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/2.043, allocations: 7.953 kB / 1.045 GB, free: 47.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/2.06, allocations: 13.38 MB / 1.058 GB, free: 35.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/2.062, allocations: 0.5787 MB / 1.059 GB, free: 35.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/2.063, allocations: 8 kB / 1.059 GB, free: 35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/2.066, allocations: 217.5 kB / 1.059 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/2.067, allocations: 217 kB / 1.059 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/2.067, allocations: 88.62 kB / 1.059 GB, free: 34.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005025/2.072, allocations: 3.424 MB / 1.063 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/2.072, allocations: 0 / 1.063 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009959/2.082, allocations: 1.692 MB / 1.064 GB, free: 29.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (290): * Single equations (assignments): 284 * 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.0008979/2.083, allocations: 161.9 kB / 1.065 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01362/2.096, allocations: 10.04 MB / 1.074 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/2.096, allocations: 0 / 1.074 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005848/2.102, allocations: 4.189 MB / 1.079 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/2.106, allocations: 0.7032 MB / 1.079 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/2.135, allocations: 15.59 MB / 1.094 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01185/2.147, allocations: 5.939 MB / 1.1 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.3113/2.459, allocations: 3.173 MB / 1.103 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/2.461, allocations: 408.1 kB / 1.104 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.503e-06/2.461, allocations: 0 / 1.104 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.1256/2.587, allocations: 66.35 MB / 1.169 GB, free: 109.7 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches