Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008417/0.0008417, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.272/1.272, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007075/0.0007076, allocations: 89.42 kB / 271.9 MB, free: 8.277 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.3295/0.3295, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 12 kB / 432.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1073, allocations: 58.85 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4314, allocations: 110.4 MB / 0.5877 GB, free: 8.027 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4317, allocations: 75.97 kB / 0.5878 GB, free: 7.953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5534/0.985, allocations: 147.2 MB / 0.7315 GB, free: 83.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.9851, allocations: 0 / 0.7315 GB, free: 83.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003412/0.9854, allocations: 158.4 kB / 0.7317 GB, free: 83.48 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.0218/1.007, allocations: 7.583 MB / 0.7391 GB, free: 80.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.007, allocations: 10.5 kB / 0.7391 GB, free: 80.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02293/1.03, allocations: 5.685 MB / 0.7446 GB, free: 79.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/1.045, allocations: 6.78 MB / 0.7513 GB, free: 76.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005512/1.046, allocations: 0.5862 MB / 0.7518 GB, free: 76.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003346/1.049, allocations: 0.7711 MB / 0.7526 GB, free: 76.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04185/1.091, allocations: 18.83 MB / 0.771 GB, free: 66.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005617/1.092, allocations: 99.55 kB / 0.7711 GB, free: 66.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003963/1.096, allocations: 372.5 kB / 0.7714 GB, free: 66.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/1.098, allocations: 1.839 MB / 0.7732 GB, free: 66.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03303/1.131, allocations: 15.35 MB / 0.7882 GB, free: 59.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4074/1.539, allocations: 81.71 MB / 0.868 GB, free: 44.62 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02133/1.56, allocations: 8.613 MB / 0.8764 GB, free: 43.93 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006393/1.567, allocations: 4.671 MB / 0.881 GB, free: 43.88 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/1.587, allocations: 11.62 MB / 0.8923 GB, free: 42.14 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/1.587, allocations: 79.62 kB / 0.8924 GB, free: 42.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=347): time 6.362e-06/1.587, allocations: 0 / 0.8924 GB, free: 42.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=389): time 0.1188/1.706, allocations: 35.74 MB / 0.9273 GB, free: 33.91 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/1.706, allocations: 246.4 kB / 0.9275 GB, free: 33.66 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.718, allocations: 7.371 MB / 0.9347 GB, free: 31.11 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009984/1.719, allocations: 87.86 kB / 0.9348 GB, free: 31.03 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003164/1.722, allocations: 5.286 MB / 0.94 GB, free: 26.98 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002058/1.724, allocations: 1.443 MB / 0.9414 GB, free: 25.92 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008711/1.725, allocations: 195.7 kB / 0.9416 GB, free: 25.77 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004977/1.726, allocations: 0.73 MB / 0.9423 GB, free: 25.28 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005967/1.732, allocations: 4.114 MB / 0.9463 GB, free: 23.89 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009868/1.741, allocations: 9.743 MB / 0.9558 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01681/1.758, allocations: 15.03 MB / 0.9705 GB, free: 4.301 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002233/1.759, allocations: 55.09 kB / 0.9705 GB, free: 4.301 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.03143/1.79, allocations: 15.29 MB / 0.9855 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.79, allocations: 92.25 kB / 0.9856 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003049/1.791, allocations: 199.5 kB / 0.9858 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004283/1.795, allocations: 1.704 MB / 0.9874 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009608/1.805, allocations: 2.431 MB / 0.9898 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/1.821, allocations: 11.61 MB / 1.001 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/1.832, allocations: 0.65 MB / 1.002 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002434/1.835, allocations: 0.5779 MB / 1.002 GB, free: 15.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 69 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[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 (1228): * Single equations (assignments): 1223 * 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.01022/1.845, allocations: 3.625 MB / 1.006 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002056/1.847, allocations: 0.6479 MB / 1.007 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.862, allocations: 8.226 MB / 1.015 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.837e-05/1.862, allocations: 40 kB / 1.015 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/1.862, allocations: 8 kB / 1.015 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/1.862, allocations: 27.3 kB / 1.015 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03856/1.901, allocations: 18.36 MB / 1.033 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/1.901, allocations: 8 kB / 1.033 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003951/1.905, allocations: 0.7602 MB / 1.033 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003774/1.909, allocations: 1.424 MB / 1.035 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00097/1.91, allocations: 75.94 kB / 1.035 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.923, allocations: 10.65 MB / 1.045 GB, free: 8.664 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.923, allocations: 11.94 kB / 1.045 GB, free: 8.652 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/1.944, allocations: 13.05 MB / 1.058 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004079/1.948, allocations: 1.316 MB / 1.059 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/1.95, allocations: 72 kB / 1.059 GB, free: 10.01 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003175/1.953, allocations: 251.6 kB / 1.059 GB, free: 9.766 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006314/1.953, allocations: 246.8 kB / 1.06 GB, free: 9.527 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.954, allocations: 106.9 kB / 1.06 GB, free: 9.426 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.008776/1.963, allocations: 4.734 MB / 1.064 GB, free: 4.723 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.61e-07/1.963, allocations: 0 / 1.064 GB, free: 4.723 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01154/1.974, allocations: 1.877 MB / 1.066 GB, free: 2.852 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.001186/1.975, allocations: 234.9 kB / 1.067 GB, free: 2.621 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01815/1.993, allocations: 10.11 MB / 1.076 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.994, allocations: 4 kB / 1.076 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006954/2.001, allocations: 4.032 MB / 1.08 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01321/2.014, allocations: 0.8236 MB / 1.081 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3141/2.328, allocations: 21.91 MB / 1.103 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01091/2.339, allocations: 5.49 MB / 1.108 GB, free: 166.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002755/2.342, allocations: 0.517 MB / 1.108 GB, free: 166.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.272e-06/2.342, allocations: 3.906 kB / 1.108 GB, free: 166.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.2598/2.602, allocations: 174.1 MB / 1.278 GB, free: 58.68 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches