Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,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|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,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|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, 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.404/1.404, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008906/0.0008906, allocations: 98.84 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.1993/0.1993, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.5161, allocations: 110.1 MB / 0.5863 GB, free: 6.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.5164, allocations: 85.14 kB / 0.5864 GB, free: 5.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8838/1.4, allocations: 224.5 MB / 0.8056 GB, free: 86.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.076e-06/1.4, allocations: 0 / 0.8056 GB, free: 86.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001336/1.402, allocations: 235.1 kB / 0.8058 GB, free: 86.64 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: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.05233/1.454, allocations: 12.28 MB / 0.8178 GB, free: 77.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.454, allocations: 8.031 kB / 0.8178 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05392/1.508, allocations: 12.64 MB / 0.8302 GB, free: 65.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0356/1.544, allocations: 12.62 MB / 0.8425 GB, free: 52.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/1.545, allocations: 0.9073 MB / 0.8434 GB, free: 51.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007882/1.553, allocations: 1.206 MB / 0.8446 GB, free: 50.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08466/1.638, allocations: 28.38 MB / 0.8723 GB, free: 20.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001276/1.639, allocations: 138.7 kB / 0.8724 GB, free: 20.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007874/1.647, allocations: 0.5583 MB / 0.873 GB, free: 19.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004597/1.651, allocations: 2.68 MB / 0.8756 GB, free: 16.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06335/1.715, allocations: 23.58 MB / 0.8986 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6045/2.319, allocations: 117 MB / 1.013 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03512/2.355, allocations: 13.73 MB / 1.026 GB, free: 36.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003041/2.358, allocations: 2.344 MB / 1.029 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/2.358, allocations: 102.9 kB / 1.029 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=559): time 1.577e-05/2.358, allocations: 0 / 1.029 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643): time 0.1882/2.546, allocations: 62.14 MB / 1.089 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002206/2.546, allocations: 328.4 kB / 1.09 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02631/2.573, allocations: 9.09 MB / 1.099 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002293/2.575, allocations: 128.3 kB / 1.099 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009859/2.585, allocations: 7.749 MB / 1.106 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005249/2.59, allocations: 2.344 MB / 1.109 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003431/2.594, allocations: 288 kB / 1.109 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002214/2.596, allocations: 0.9187 MB / 1.11 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01521/2.611, allocations: 6.529 MB / 1.116 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4337/3.045, allocations: 14.11 MB / 1.13 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.021/3.066, allocations: 9.424 MB / 1.139 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008247/3.067, allocations: 75.28 kB / 1.139 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1864) (initialization): time 0.05503/3.122, allocations: 23.54 MB / 1.162 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009499/3.123, allocations: 119.1 kB / 1.162 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009934/3.124, allocations: 265.4 kB / 1.162 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009728/3.134, allocations: 3.263 MB / 1.166 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01638/3.15, allocations: 3.497 MB / 1.169 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02978/3.18, allocations: 23.22 MB / 1.192 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01815/3.198, allocations: 0.8714 MB / 1.193 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005139/3.203, allocations: 0.8075 MB / 1.193 GB, free: 114.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1204 * Number of states: 0 () * Number of discrete variables: 108 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1744): * Single equations (assignments): 1737 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0196/3.223, allocations: 5.343 MB / 1.199 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004264/3.227, allocations: 0.9505 MB / 1.2 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03721/3.264, allocations: 14.61 MB / 1.214 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001427/3.265, allocations: 65.25 kB / 1.214 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001308/3.265, allocations: 18.06 kB / 1.214 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002409/3.265, allocations: 28.55 kB / 1.214 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08844/3.354, allocations: 31.29 MB / 1.244 GB, free: 90.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001337/3.354, allocations: 4 kB / 1.244 GB, free: 90.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007885/3.362, allocations: 1.223 MB / 1.246 GB, free: 89.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007929/3.37, allocations: 2.833 MB / 1.248 GB, free: 87.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002279/3.372, allocations: 123.6 kB / 1.249 GB, free: 87.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02623/3.398, allocations: 21.73 MB / 1.27 GB, free: 68.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/3.398, allocations: 11.94 kB / 1.27 GB, free: 68.35 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04595/3.444, allocations: 24.02 MB / 1.293 GB, free: 46.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009191/3.453, allocations: 2.041 MB / 1.295 GB, free: 44.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005084/3.459, allocations: 112.7 kB / 1.295 GB, free: 44.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009309/3.468, allocations: 491.9 kB / 1.296 GB, free: 43.94 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002698/3.471, allocations: 391.9 kB / 1.296 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001841/3.473, allocations: 161 kB / 1.296 GB, free: 43.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01611/3.489, allocations: 6.534 MB / 1.303 GB, free: 36.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/3.489, allocations: 0 / 1.303 GB, free: 36.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02146/3.51, allocations: 2.938 MB / 1.306 GB, free: 33.96 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (554): * Single equations (assignments): 547 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(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.002715/3.513, allocations: 295.4 kB / 1.306 GB, free: 33.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0309/3.544, allocations: 16.29 MB / 1.322 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.463e-05/3.544, allocations: 4 kB / 1.322 GB, free: 17.35 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.3552/3.899, allocations: 7.156 MB / 1.329 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/3.909, allocations: 1.2 MB / 1.33 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07057/3.98, allocations: 33 MB / 1.362 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02228/4.002, allocations: 8.315 MB / 1.37 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01947/4.022, allocations: 4.725 MB / 1.375 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005464/4.027, allocations: 0.6723 MB / 1.376 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.002e-06/4.027, allocations: 0 / 1.376 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.1944/4.222, allocations: 110.5 MB / 1.483 GB, free: 45.89 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque3/Torque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches