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.001541/0.001541, allocations: 175.6 kB / 16.76 MB, free: 5.051 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.454/1.454, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007763/0.0007762, allocations: 87.91 kB / 271.3 MB, free: 8.242 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.3562/0.3562, allocations: 43.57 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.000417, allocations: 12 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 58.85 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.565, allocations: 110.3 MB / 0.5876 GB, free: 7.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.5653, allocations: 75.97 kB / 0.5877 GB, free: 7.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7691/1.334, allocations: 221.2 MB / 0.8037 GB, free: 45.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.334, allocations: 0 / 0.8037 GB, free: 45.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001075/1.336, allocations: 236 kB / 0.8039 GB, free: 45.19 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: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.04335/1.379, allocations: 11.73 MB / 0.8154 GB, free: 33.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.379, allocations: 16.03 kB / 0.8154 GB, free: 33.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03899/1.418, allocations: 9.351 MB / 0.8246 GB, free: 23.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02531/1.443, allocations: 11.29 MB / 0.8356 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009214/1.444, allocations: 0.9069 MB / 0.8365 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007652/1.452, allocations: 1.207 MB / 0.8376 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3686/1.821, allocations: 28.07 MB / 0.8651 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001102/1.822, allocations: 140.9 kB / 0.8652 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005791/1.828, allocations: 0.5526 MB / 0.8657 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004848/1.832, allocations: 2.68 MB / 0.8683 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04994/1.882, allocations: 23.16 MB / 0.891 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1468/2.029, allocations: 116.8 MB / 1.005 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03083/2.06, allocations: 13.46 MB / 1.018 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01102/2.071, allocations: 7.974 MB / 1.026 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002655/2.074, allocations: 2.343 MB / 1.028 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/2.074, allocations: 99.19 kB / 1.028 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=559): time 9.918e-06/2.074, allocations: 0 / 1.028 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643): time 0.4777/2.552, allocations: 61.89 MB / 1.089 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/2.552, allocations: 333.1 kB / 1.089 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01983/2.572, allocations: 10.2 MB / 1.099 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001528/2.573, allocations: 127.3 kB / 1.099 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005673/2.579, allocations: 7.748 MB / 1.107 GB, free: 98.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003163/2.582, allocations: 2.341 MB / 1.109 GB, free: 97.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/2.584, allocations: 292.8 kB / 1.109 GB, free: 97.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0008337/2.585, allocations: 0.9077 MB / 1.11 GB, free: 97.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01177/2.597, allocations: 6.53 MB / 1.117 GB, free: 97.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01756/2.614, allocations: 14.17 MB / 1.13 GB, free: 87.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02514/2.639, allocations: 22.45 MB / 1.152 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003839/2.64, allocations: 75.34 kB / 1.152 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1864) (initialization): time 0.04754/2.687, allocations: 23.53 MB / 1.175 GB, free: 64.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001929/2.688, allocations: 117.7 kB / 1.176 GB, free: 64.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003773/2.688, allocations: 265.6 kB / 1.176 GB, free: 64.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007242/2.695, allocations: 3.238 MB / 1.179 GB, free: 64.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01267/2.708, allocations: 3.504 MB / 1.182 GB, free: 63.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02286/2.731, allocations: 22.63 MB / 1.204 GB, free: 48.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/2.744, allocations: 0.8679 MB / 1.205 GB, free: 47.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003293/2.748, allocations: 0.8186 MB / 1.206 GB, free: 46.8 MB / 0.5417 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.01564/2.763, allocations: 5.334 MB / 1.211 GB, free: 42.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002763/2.766, allocations: 0.9449 MB / 1.212 GB, free: 41.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02544/2.791, allocations: 14.62 MB / 1.227 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.337e-05/2.792, allocations: 64 kB / 1.227 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.394e-05/2.792, allocations: 16 kB / 1.227 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001548/2.792, allocations: 29.62 kB / 1.227 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06304/2.855, allocations: 31.28 MB / 1.257 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.345e-05/2.855, allocations: 11.94 kB / 1.257 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006533/2.861, allocations: 1.221 MB / 1.258 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00686/2.868, allocations: 2.833 MB / 1.261 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001694/2.87, allocations: 117.9 kB / 1.261 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3473/3.217, allocations: 21.13 MB / 1.282 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/3.218, allocations: 5.875 kB / 1.282 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04017/3.258, allocations: 22.41 MB / 1.304 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008069/3.266, allocations: 2.042 MB / 1.306 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00465/3.27, allocations: 109.9 kB / 1.306 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009953/3.28, allocations: 498.6 kB / 1.306 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002236/3.283, allocations: 391.4 kB / 1.307 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000762/3.284, allocations: 165.8 kB / 1.307 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01686/3.3, allocations: 6.529 MB / 1.313 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.21e-07/3.3, allocations: 0 / 1.313 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01803/3.318, allocations: 2.939 MB / 1.316 GB, free: 105.8 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.002026/3.321, allocations: 302.3 kB / 1.316 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02652/3.347, allocations: 16.29 MB / 1.332 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/3.347, allocations: 3.062 kB / 1.332 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01384/3.361, allocations: 7.169 MB / 1.339 GB, free: 99.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02244/3.383, allocations: 1.278 MB / 1.341 GB, free: 99.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06199/3.445, allocations: 33.07 MB / 1.373 GB, free: 83.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01816/3.464, allocations: 8.074 MB / 1.381 GB, free: 78.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01368/3.477, allocations: 4.722 MB / 1.385 GB, free: 75.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003878/3.481, allocations: 0.675 MB / 1.386 GB, free: 74.83 MB / 0.5573 GB Notification: Performance of SimCode: time 9.81e-07/3.481, allocations: 0 / 1.386 GB, free: 74.83 MB / 0.5573 GB Notification: Performance of Templates: time 0.4568/3.938, allocations: 110.9 MB / 1.494 GB, free: 88.46 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/jenkins1/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