Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001901/0.001901, allocations: 181.6 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.479/2.479, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001107/0.001107, allocations: 87.41 kB / 271.9 MB, free: 8.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.635/0.635, allocations: 43.56 MB / 363.8 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008062/0.0008065, allocations: 12 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2034, allocations: 58.86 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5875/0.791, allocations: 107.8 MB / 0.5852 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.7914, allocations: 75.97 kB / 0.5853 GB, free: 10.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8693/1.661, allocations: 130.5 MB / 0.7128 GB, free: 84.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.661, allocations: 2.25 kB / 0.7128 GB, free: 84.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005073/1.661, allocations: 132.3 kB / 0.7129 GB, free: 84.21 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.03609/1.697, allocations: 6.86 MB / 0.7196 GB, free: 81.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.732e-05/1.697, allocations: 13.19 kB / 0.7196 GB, free: 81.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04794/1.745, allocations: 5.503 MB / 0.725 GB, free: 80.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/1.772, allocations: 6.339 MB / 0.7312 GB, free: 79.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/1.773, allocations: 0.4962 MB / 0.7317 GB, free: 79.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005075/1.778, allocations: 0.6653 MB / 0.7323 GB, free: 79.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05449/1.833, allocations: 16.09 MB / 0.748 GB, free: 72.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007078/1.834, allocations: 86.72 kB / 0.7481 GB, free: 72.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004463/1.838, allocations: 326.9 kB / 0.7484 GB, free: 72.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004316/1.843, allocations: 1.552 MB / 0.7499 GB, free: 72.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04602/1.889, allocations: 12.97 MB / 0.7626 GB, free: 68.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1412/2.03, allocations: 73.01 MB / 0.8339 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02801/2.058, allocations: 6.366 MB / 0.8401 GB, free: 2.723 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009232/2.067, allocations: 3.723 MB / 0.8437 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03388/2.101, allocations: 9.224 MB / 0.8528 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.608e-05/2.101, allocations: 56.56 kB / 0.8528 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=269): time 1.176e-05/2.102, allocations: 0 / 0.8528 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of matching and sorting (n=311): time 0.6001/2.702, allocations: 29.32 MB / 0.8814 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/2.702, allocations: 240.9 kB / 0.8817 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02748/2.729, allocations: 6.937 MB / 0.8884 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001078/2.731, allocations: 73.48 kB / 0.8885 GB, free: 91.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007206/2.738, allocations: 4.835 MB / 0.8932 GB, free: 89.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002754/2.741, allocations: 1.18 MB / 0.8944 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/2.743, allocations: 183.3 kB / 0.8946 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001401/2.744, allocations: 0.691 MB / 0.8952 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01651/2.761, allocations: 3.57 MB / 0.8987 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02036/2.781, allocations: 8.907 MB / 0.9074 GB, free: 80.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02657/2.808, allocations: 13.53 MB / 0.9206 GB, free: 70.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004995/2.808, allocations: 56.72 kB / 0.9207 GB, free: 70.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.0469/2.855, allocations: 13.71 MB / 0.9341 GB, free: 65.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003377/2.856, allocations: 89.94 kB / 0.9342 GB, free: 65.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004776/2.856, allocations: 188.5 kB / 0.9344 GB, free: 65.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007096/2.863, allocations: 1.677 MB / 0.936 GB, free: 64.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/2.877, allocations: 2.141 MB / 0.9381 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/2.9, allocations: 11.37 MB / 0.9492 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01471/2.915, allocations: 0.5316 MB / 0.9497 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003068/2.918, allocations: 0.5358 MB / 0.9502 GB, free: 58.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 853 * Number of states: 0 () * Number of discrete variables: 63 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1107): * Single equations (assignments): 1102 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01372/2.932, allocations: 3.226 MB / 0.9534 GB, free: 56.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002937/2.935, allocations: 0.594 MB / 0.954 GB, free: 56.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02513/2.96, allocations: 6.758 MB / 0.9606 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001286/2.96, allocations: 36.08 kB / 0.9606 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.698e-05/2.96, allocations: 11.53 kB / 0.9606 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/2.96, allocations: 16.7 kB / 0.9606 GB, free: 53.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05991/3.02, allocations: 15.2 MB / 0.9755 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-05/3.02, allocations: 4 kB / 0.9755 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00571/3.026, allocations: 0.5613 MB / 0.976 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006895/3.033, allocations: 1.417 MB / 0.9774 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001186/3.034, allocations: 59.33 kB / 0.9775 GB, free: 46.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/3.054, allocations: 10.53 MB / 0.9877 GB, free: 36.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/3.055, allocations: 8 kB / 0.9877 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02587/3.08, allocations: 10.98 MB / 0.9985 GB, free: 27.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005604/3.086, allocations: 1.15 MB / 0.9996 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003875/3.09, allocations: 59.05 kB / 0.9996 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006335/3.096, allocations: 210 kB / 0.9998 GB, free: 25.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001521/3.098, allocations: 190.4 kB / 1 GB, free: 25.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007288/3.099, allocations: 88.94 kB / 1 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01567/3.114, allocations: 4.433 MB / 1.004 GB, free: 21.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.302e-06/3.115, allocations: 0 / 1.004 GB, free: 21.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01703/3.132, allocations: 1.655 MB / 1.006 GB, free: 20.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (254): * Single equations (assignments): 249 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.001534/3.133, allocations: 217 kB / 1.006 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02339/3.157, allocations: 8.829 MB / 1.015 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/3.157, allocations: 384 / 1.015 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009891/3.167, allocations: 3.384 MB / 1.018 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02016/3.187, allocations: 0.7473 MB / 1.019 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04771/3.235, allocations: 19.11 MB / 1.038 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01148/3.246, allocations: 4.902 MB / 1.042 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002618/3.249, allocations: 479.3 kB / 1.043 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/3.249, allocations: 0 / 1.043 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.7132/3.962, allocations: 153.8 MB / 1.193 GB, free: 37.88 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches