Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.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.Torque2,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.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,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.Torque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 183.9 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.373/1.373, allocations: 205.2 MB / 218.9 MB, free: 9.133 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.0008805/0.0008806, allocations: 94.53 kB / 267.1 MB, free: 9.258 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.3441/0.3441, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.95e-05, allocations: 8 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.5103, allocations: 111.5 MB / 0.5817 GB, free: 10.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.5105, allocations: 82.05 kB / 0.5817 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7895/1.3, allocations: 241.4 MB / 0.8175 GB, free: 61.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.455e-06/1.3, allocations: 4 kB / 0.8175 GB, free: 61.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007381/1.301, allocations: 255.3 kB / 0.8177 GB, free: 61.48 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: 4457 * Number of variables: 4457 Notification: Performance of Generate backend data structure: time 0.03758/1.338, allocations: 12.36 MB / 0.8298 GB, free: 53.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.339, allocations: 8.031 kB / 0.8298 GB, free: 53.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04785/1.386, allocations: 12.81 MB / 0.8423 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03112/1.418, allocations: 13.31 MB / 0.8553 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008386/1.418, allocations: 0.9548 MB / 0.8562 GB, free: 25.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005705/1.424, allocations: 1.285 MB / 0.8575 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.358/1.782, allocations: 29.95 MB / 0.8867 GB, free: 48.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001213/1.783, allocations: 151.3 kB / 0.8869 GB, free: 48.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005029/1.788, allocations: 0.59 MB / 0.8875 GB, free: 48.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004835/1.793, allocations: 2.868 MB / 0.8903 GB, free: 48.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05061/1.844, allocations: 24.31 MB / 0.914 GB, free: 48.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1538/1.998, allocations: 127.9 MB / 1.039 GB, free: 16.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03182/2.03, allocations: 13.95 MB / 1.053 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/2.04, allocations: 7.963 MB / 1.06 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03628/2.076, allocations: 19.94 MB / 1.08 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/2.076, allocations: 97.8 kB / 1.08 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=562): time 1.097e-05/2.076, allocations: 0 / 1.08 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=646): time 0.4562/2.533, allocations: 59.21 MB / 1.138 GB, free: 110 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/2.533, allocations: 380.7 kB / 1.138 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02378/2.557, allocations: 10.63 MB / 1.148 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001727/2.558, allocations: 127.6 kB / 1.149 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006145/2.564, allocations: 8.569 MB / 1.157 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003204/2.568, allocations: 2.379 MB / 1.159 GB, free: 103 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/2.57, allocations: 312.8 kB / 1.16 GB, free: 103 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001024/2.571, allocations: 0.9613 MB / 1.16 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01242/2.583, allocations: 6.634 MB / 1.167 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01886/2.602, allocations: 15.07 MB / 1.182 GB, free: 90.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/2.618, allocations: 9.893 MB / 1.191 GB, free: 87.01 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004618/2.619, allocations: 82.94 kB / 1.191 GB, free: 87.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2020) (initialization): time 0.05054/2.669, allocations: 24.55 MB / 1.215 GB, free: 79.06 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004997/2.67, allocations: 135.5 kB / 1.215 GB, free: 79.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006105/2.67, allocations: 294.7 kB / 1.216 GB, free: 79.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007794/2.678, allocations: 3.306 MB / 1.219 GB, free: 78.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/2.692, allocations: 3.764 MB / 1.223 GB, free: 76.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/2.715, allocations: 22.59 MB / 1.245 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/2.73, allocations: 0.9346 MB / 1.246 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003699/2.734, allocations: 0.8851 MB / 1.247 GB, free: 54.54 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1346 * Number of states: 0 () * Number of discrete variables: 120 (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],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],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 (1900): * Single equations (assignments): 1893 * 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.006121/2.74, allocations: 1.291 MB / 1.248 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003034/2.743, allocations: 1.072 MB / 1.249 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02414/2.767, allocations: 14.61 MB / 1.263 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-05/2.767, allocations: 68 kB / 1.263 GB, free: 40.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.479e-05/2.767, allocations: 16 kB / 1.263 GB, free: 40.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/2.767, allocations: 32.31 kB / 1.263 GB, free: 40.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05899/2.826, allocations: 32.41 MB / 1.295 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.237e-05/2.826, allocations: 11.84 kB / 1.295 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006469/2.833, allocations: 1.284 MB / 1.296 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3349/3.168, allocations: 2.894 MB / 1.299 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001883/3.17, allocations: 128.5 kB / 1.299 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02393/3.193, allocations: 21.07 MB / 1.32 GB, free: 98.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/3.194, allocations: 18.91 kB / 1.32 GB, free: 98.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03461/3.228, allocations: 26.08 MB / 1.345 GB, free: 92.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007091/3.235, allocations: 2.181 MB / 1.347 GB, free: 92.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003264/3.239, allocations: 123.1 kB / 1.347 GB, free: 92.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006604/3.245, allocations: 447.8 kB / 1.348 GB, free: 92.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/3.246, allocations: 409.6 kB / 1.348 GB, free: 92.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004818/3.247, allocations: 171.8 kB / 1.348 GB, free: 92.72 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01677/3.264, allocations: 7.664 MB / 1.356 GB, free: 92.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.62e-07/3.264, allocations: 0 / 1.356 GB, free: 92.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01726/3.281, allocations: 3.11 MB / 1.359 GB, free: 92.34 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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.00125/3.282, allocations: 300.7 kB / 1.359 GB, free: 92.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02198/3.304, allocations: 16.59 MB / 1.375 GB, free: 87.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/3.304, allocations: 6.75 kB / 1.375 GB, free: 87.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009763/3.314, allocations: 7.007 MB / 1.382 GB, free: 84.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/3.321, allocations: 1.345 MB / 1.384 GB, free: 83.94 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04215/3.363, allocations: 25.74 MB / 1.409 GB, free: 74.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01307/3.376, allocations: 8.888 MB / 1.417 GB, free: 69.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0134/3.389, allocations: 5.163 MB / 1.422 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003132/3.392, allocations: 0.7269 MB / 1.423 GB, free: 65.52 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/3.392, allocations: 0 / 1.423 GB, free: 65.52 MB / 0.5573 GB Notification: Performance of Templates: time 0.5313/3.924, allocations: 115.4 MB / 1.536 GB, free: 99.38 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque2/Torque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches