Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001947/0.001947, allocations: 182 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.267/2.267, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001039/0.00104, allocations: 85.06 kB / 271.9 MB, free: 8.254 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.6051/0.6051, allocations: 43.56 MB / 363.8 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005999/0.0006, allocations: 16 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1593, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5073/0.6666, allocations: 110.3 MB / 0.5876 GB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.6669, allocations: 79.95 kB / 0.5877 GB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094/1.761, allocations: 221.2 MB / 0.8037 GB, free: 45.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.068e-06/1.761, allocations: 0 / 0.8037 GB, free: 45.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008307/1.762, allocations: 236 kB / 0.8039 GB, free: 45.75 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.0539/1.816, allocations: 11.73 MB / 0.8154 GB, free: 33.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.816, allocations: 12.03 kB / 0.8154 GB, free: 33.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06212/1.878, allocations: 9.355 MB / 0.8245 GB, free: 24.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03757/1.916, allocations: 11.29 MB / 0.8356 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001489/1.918, allocations: 0.903 MB / 0.8364 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009445/1.927, allocations: 1.207 MB / 0.8376 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5524/2.48, allocations: 28.07 MB / 0.865 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001991/2.482, allocations: 141.2 kB / 0.8652 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01024/2.492, allocations: 0.5544 MB / 0.8657 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008059/2.5, allocations: 2.684 MB / 0.8683 GB, free: 55.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0827/2.583, allocations: 23.17 MB / 0.8909 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2341/2.817, allocations: 116.8 MB / 1.005 GB, free: 17.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06003/2.877, allocations: 13.47 MB / 1.018 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01748/2.895, allocations: 7.963 MB / 1.026 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004291/2.899, allocations: 2.353 MB / 1.028 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/2.899, allocations: 91.06 kB / 1.028 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=559): time 1.758e-05/2.899, allocations: 3.75 kB / 1.028 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643): time 0.7508/3.65, allocations: 61.79 MB / 1.089 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/3.65, allocations: 326.9 kB / 1.089 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03505/3.685, allocations: 10.2 MB / 1.099 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002175/3.688, allocations: 126.8 kB / 1.099 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01035/3.698, allocations: 7.751 MB / 1.107 GB, free: 99.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0056/3.704, allocations: 2.341 MB / 1.109 GB, free: 97.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003718/3.708, allocations: 290.3 kB / 1.109 GB, free: 97.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002279/3.71, allocations: 0.9095 MB / 1.11 GB, free: 97.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02051/3.73, allocations: 6.538 MB / 1.116 GB, free: 97.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02829/3.759, allocations: 14.16 MB / 1.13 GB, free: 87.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04294/3.802, allocations: 22.45 MB / 1.152 GB, free: 74 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006655/3.802, allocations: 81.12 kB / 1.152 GB, free: 74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1864) (initialization): time 0.07321/3.876, allocations: 23.52 MB / 1.175 GB, free: 65.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004622/3.876, allocations: 116.5 kB / 1.175 GB, free: 65.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007029/3.877, allocations: 264.3 kB / 1.176 GB, free: 65.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/3.889, allocations: 3.242 MB / 1.179 GB, free: 64.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0204/3.909, allocations: 3.501 MB / 1.182 GB, free: 64.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03992/3.949, allocations: 22.62 MB / 1.204 GB, free: 48.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01903/3.968, allocations: 0.8777 MB / 1.205 GB, free: 48.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004594/3.973, allocations: 0.8178 MB / 1.206 GB, free: 47.5 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.01924/3.992, allocations: 5.336 MB / 1.211 GB, free: 42.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004843/3.997, allocations: 0.9435 MB / 1.212 GB, free: 41.85 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04533/4.042, allocations: 14.62 MB / 1.226 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001223/4.042, allocations: 64 kB / 1.226 GB, free: 29.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.977e-05/4.043, allocations: 19.94 kB / 1.226 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000215/4.043, allocations: 29.44 kB / 1.226 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0983/4.141, allocations: 31.28 MB / 1.257 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001831/4.141, allocations: 8 kB / 1.257 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01046/4.152, allocations: 1.217 MB / 1.258 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01146/4.163, allocations: 2.832 MB / 1.261 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002637/4.166, allocations: 126.2 kB / 1.261 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5065/4.673, allocations: 21.23 MB / 1.282 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/4.673, allocations: 9.219 kB / 1.282 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0447/4.717, allocations: 22.41 MB / 1.304 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007998/4.725, allocations: 2.044 MB / 1.306 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005254/4.731, allocations: 114.5 kB / 1.306 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008769/4.739, allocations: 488.5 kB / 1.306 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002442/4.742, allocations: 390.1 kB / 1.307 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00143/4.743, allocations: 167.3 kB / 1.307 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.02209/4.765, allocations: 6.525 MB / 1.313 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.953e-06/4.766, allocations: 0 / 1.313 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02424/4.79, allocations: 2.94 MB / 1.316 GB, free: 106.4 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.002278/4.792, allocations: 305.9 kB / 1.316 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03051/4.823, allocations: 16.28 MB / 1.332 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/4.823, allocations: 3.547 kB / 1.332 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01415/4.837, allocations: 7.167 MB / 1.339 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02714/4.864, allocations: 1.278 MB / 1.341 GB, free: 100 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/4.965, allocations: 34.41 MB / 1.374 GB, free: 83.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0313/4.996, allocations: 8.078 MB / 1.382 GB, free: 78.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008275/5.005, allocations: 0.7707 MB / 1.383 GB, free: 77.5 MB / 0.5573 GB Notification: Performance of SimCode: time 2.064e-06/5.005, allocations: 0 / 1.383 GB, free: 77.5 MB / 0.5573 GB Notification: Performance of Templates: time 1.681/6.686, allocations: 365.5 MB / 1.74 GB, free: 159.7 MB / 0.6198 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches