Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 175.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008608/0.0008608, allocations: 94.27 kB / 292.2 MB, free: 10.91 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.3309/0.3309, allocations: 44.21 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 12 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.334, allocations: 61.91 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4673, allocations: 110.8 MB / 0.6178 GB, free: 288 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4676, allocations: 83.89 kB / 0.6179 GB, free: 208 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7494/1.217, allocations: 205.2 MB / 0.8182 GB, free: 26.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.298e-06/1.217, allocations: 3.984 kB / 0.8182 GB, free: 26.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001127/1.218, allocations: 216 kB / 0.8185 GB, free: 26.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.04259/1.261, allocations: 11.41 MB / 0.8296 GB, free: 14.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.261, allocations: 11.97 kB / 0.8296 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04653/1.307, allocations: 12.42 MB / 0.8417 GB, free: 2.375 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03585/1.343, allocations: 11.51 MB / 0.853 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/1.345, allocations: 0.8223 MB / 0.8538 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006774/1.351, allocations: 1.093 MB / 0.8549 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4267/1.778, allocations: 25.93 MB / 0.8802 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009231/1.779, allocations: 128.7 kB / 0.8803 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005773/1.785, allocations: 0.5061 MB / 0.8808 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00385/1.789, allocations: 2.356 MB / 0.8831 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04922/1.838, allocations: 21.28 MB / 0.9039 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.15/1.988, allocations: 108.6 MB / 1.01 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02997/2.018, allocations: 12.44 MB / 1.022 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002953/2.021, allocations: 2.323 MB / 1.024 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/2.021, allocations: 88.86 kB / 1.024 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=443): time 1.432e-05/2.021, allocations: 2.562 kB / 1.024 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=527): time 0.161/2.182, allocations: 57.46 MB / 1.081 GB, free: 304 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3359/2.518, allocations: 322.2 kB / 1.081 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01725/2.536, allocations: 8.625 MB / 1.089 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001515/2.537, allocations: 105.5 kB / 1.089 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005535/2.543, allocations: 7.139 MB / 1.096 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002947/2.546, allocations: 1.938 MB / 1.098 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/2.547, allocations: 258.8 kB / 1.099 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0006325/2.548, allocations: 0.8465 MB / 1.099 GB, free: 110 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00855/2.556, allocations: 5.588 MB / 1.105 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/2.571, allocations: 12.62 MB / 1.117 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/2.585, allocations: 8.228 MB / 1.125 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003273/2.585, allocations: 73.22 kB / 1.125 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.04535/2.631, allocations: 21 MB / 1.146 GB, free: 98.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005898/2.631, allocations: 113.5 kB / 1.146 GB, free: 98.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006714/2.632, allocations: 247.9 kB / 1.146 GB, free: 98.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008583/2.641, allocations: 3.234 MB / 1.149 GB, free: 97.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01198/2.653, allocations: 3.098 MB / 1.152 GB, free: 97.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02708/2.68, allocations: 23.15 MB / 1.175 GB, free: 84.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/2.693, allocations: 0.7694 MB / 1.176 GB, free: 84.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003585/2.697, allocations: 0.7361 MB / 1.176 GB, free: 84.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1122 * Number of states: 0 () * Number of discrete variables: 126 (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.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[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.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (1542): * Single equations (assignments): 1535 * 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.01554/2.712, allocations: 4.891 MB / 1.181 GB, free: 82.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003339/2.716, allocations: 0.8721 MB / 1.182 GB, free: 81.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02679/2.742, allocations: 12.36 MB / 1.194 GB, free: 77.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-05/2.743, allocations: 53.5 kB / 1.194 GB, free: 77.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.202e-05/2.743, allocations: 14.84 kB / 1.194 GB, free: 77.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001325/2.743, allocations: 30.16 kB / 1.194 GB, free: 77.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06371/2.806, allocations: 27.27 MB / 1.221 GB, free: 57.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-05/2.807, allocations: 11.95 kB / 1.221 GB, free: 57.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005195/2.812, allocations: 0.9746 MB / 1.222 GB, free: 57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007313/2.819, allocations: 2.83 MB / 1.224 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001726/2.821, allocations: 95.89 kB / 1.225 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02397/2.845, allocations: 21.67 MB / 1.246 GB, free: 35.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/2.845, allocations: 4 kB / 1.246 GB, free: 35.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03171/2.877, allocations: 20.48 MB / 1.266 GB, free: 17.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00486/2.882, allocations: 0.9351 MB / 1.267 GB, free: 16.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004265/2.886, allocations: 94.38 kB / 1.267 GB, free: 16.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007732/2.894, allocations: 413.2 kB / 1.267 GB, free: 16.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001988/2.896, allocations: 324 kB / 1.267 GB, free: 16.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00125/2.897, allocations: 134.9 kB / 1.268 GB, free: 16.16 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01375/2.911, allocations: 6.187 MB / 1.274 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.462e-06/2.911, allocations: 3.938 kB / 1.274 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01669/2.927, allocations: 2.627 MB / 1.276 GB, free: 8.508 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (435): * Single equations (assignments): 428 * 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.001882/2.929, allocations: 267.1 kB / 1.276 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3684/3.298, allocations: 14.44 MB / 1.291 GB, free: 111.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/3.298, allocations: 0 / 1.291 GB, free: 111.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/3.308, allocations: 6.114 MB / 1.297 GB, free: 110.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007881/3.316, allocations: 1.172 MB / 1.298 GB, free: 110.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05605/3.372, allocations: 29.42 MB / 1.326 GB, free: 100.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02478/3.397, allocations: 7.59 MB / 1.334 GB, free: 99.19 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01843/3.415, allocations: 4.218 MB / 1.338 GB, free: 98.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004534/3.42, allocations: 0.5939 MB / 1.338 GB, free: 98.88 MB / 0.573 GB Notification: Performance of SimCode: time 1.413e-06/3.42, allocations: 1.875 kB / 1.338 GB, free: 98.88 MB / 0.573 GB Notification: Performance of Templates: time 0.1734/3.593, allocations: 99.69 MB / 1.436 GB, free: 56.52 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque3/Torque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches