Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.3 MB / 213.7 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008361/0.0008366, allocations: 86.62 kB / 261.7 MB, free: 1.629 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.2292/0.2292, allocations: 43.51 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.598e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1254, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.5371, allocations: 109.5 MB / 0.5728 GB, free: 2.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5375, allocations: 77.88 kB / 0.5729 GB, free: 2.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7424/1.28, allocations: 145.8 MB / 0.7152 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.494e-06/1.28, allocations: 3.5 kB / 0.7152 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005869/1.281, allocations: 151.8 kB / 0.7154 GB, free: 91.2 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.03579/1.316, allocations: 7.383 MB / 0.7226 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.316, allocations: 9.375 kB / 0.7226 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03408/1.351, allocations: 7.321 MB / 0.7297 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02418/1.375, allocations: 7.902 MB / 0.7375 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006044/1.375, allocations: 253.5 kB / 0.7377 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005036/1.38, allocations: 464.8 kB / 0.7382 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02456/1.405, allocations: 10.99 MB / 0.7489 GB, free: 86.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05175/1.457, allocations: 16.44 MB / 0.7649 GB, free: 82.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008482/1.458, allocations: 96.19 kB / 0.765 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00518/1.463, allocations: 45.34 kB / 0.7651 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003157/1.466, allocations: 1.835 MB / 0.7669 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/1.573, allocations: 77.77 MB / 0.8428 GB, free: 31.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008178/1.581, allocations: 6.743 MB / 0.8494 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004895/1.586, allocations: 4.352 MB / 0.8537 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009245/1.587, allocations: 0.724 MB / 0.8544 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/1.587, allocations: 69.19 kB / 0.8544 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=340): time 7.454e-06/1.587, allocations: 0 / 0.8544 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.06281/1.65, allocations: 32.22 MB / 0.8859 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/1.65, allocations: 252.9 kB / 0.8861 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.66, allocations: 5.022 MB / 0.891 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001692/1.662, allocations: 25.7 kB / 0.8911 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004721/1.667, allocations: 5.418 MB / 0.8963 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002945/1.67, allocations: 1.388 MB / 0.8977 GB, free: 200 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/1.671, allocations: 0 / 0.8977 GB, free: 200 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.3867/2.058, allocations: 0.7861 MB / 0.8985 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01011/2.068, allocations: 3.92 MB / 0.9023 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/2.082, allocations: 9.707 MB / 0.9118 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/2.094, allocations: 6.104 MB / 0.9177 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002997/2.094, allocations: 60.69 kB / 0.9178 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1350) (initialization): time 0.0313/2.125, allocations: 13.91 MB / 0.9314 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002397/2.126, allocations: 93.47 kB / 0.9315 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003708/2.126, allocations: 205.6 kB / 0.9317 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/2.13, allocations: 1.741 MB / 0.9334 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00993/2.14, allocations: 2.523 MB / 0.9358 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/2.154, allocations: 10.82 MB / 0.9464 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/2.165, allocations: 398.9 kB / 0.9468 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003246/2.168, allocations: 0.6017 MB / 0.9474 GB, free: 89.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1278): * Single equations (assignments): 1273 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00439/2.172, allocations: 0.6298 MB / 0.948 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/2.174, allocations: 0.5485 MB / 0.9485 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/2.189, allocations: 7.499 MB / 0.9558 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.574e-05/2.189, allocations: 42.38 kB / 0.9559 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/2.189, allocations: 8.375 kB / 0.9559 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/2.189, allocations: 23.34 kB / 0.9559 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/2.216, allocations: 16.41 MB / 0.9719 GB, free: 84.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/2.216, allocations: 6.938 kB / 0.9719 GB, free: 84.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003499/2.22, allocations: 0.7481 MB / 0.9727 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00316/2.223, allocations: 1.408 MB / 0.974 GB, free: 84.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003982/2.223, allocations: 21.27 kB / 0.9741 GB, free: 84.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/2.234, allocations: 9.895 MB / 0.9837 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/2.234, allocations: 10.5 kB / 0.9837 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/2.251, allocations: 13.3 MB / 0.9967 GB, free: 73.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003231/2.254, allocations: 1.174 MB / 0.9979 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/2.256, allocations: 7.75 kB / 0.9979 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003259/2.259, allocations: 194.3 kB / 0.9981 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005815/2.259, allocations: 245.8 kB / 0.9983 GB, free: 72.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002701/2.26, allocations: 108.4 kB / 0.9984 GB, free: 72.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006409/2.266, allocations: 3.367 MB / 1.002 GB, free: 71.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.3e-07/2.266, allocations: 0 / 1.002 GB, free: 71.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01374/2.28, allocations: 1.615 MB / 1.003 GB, free: 69.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (330): * Single equations (assignments): 325 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.00128/2.281, allocations: 158.8 kB / 1.003 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01599/2.297, allocations: 9.806 MB / 1.013 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/2.297, allocations: 0 / 1.013 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006051/2.303, allocations: 3.836 MB / 1.017 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004341/2.308, allocations: 0.5466 MB / 1.017 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/2.339, allocations: 14.85 MB / 1.032 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008702/2.348, allocations: 5.652 MB / 1.037 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009543/2.357, allocations: 3.342 MB / 1.041 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/2.359, allocations: 415.8 kB / 1.041 GB, free: 37.13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/2.359, allocations: 3.281 kB / 1.041 GB, free: 37.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.4355/2.795, allocations: 58.43 MB / 1.098 GB, free: 99.29 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches