Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000911/0.000911, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.184/1.184, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007848/0.0007848, allocations: 84.05 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1653/0.1653, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.106e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4689, allocations: 110.8 MB / 0.6099 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.4692, allocations: 79.95 kB / 0.61 GB, free: 10.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5642/1.033, allocations: 138 MB / 0.7448 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/1.033, allocations: 0 / 0.7448 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002951/1.034, allocations: 142.5 kB / 0.7449 GB, free: 110.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.01876/1.052, allocations: 6.878 MB / 0.7516 GB, free: 108 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.053, allocations: 7.875 kB / 0.7517 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02669/1.079, allocations: 7.198 MB / 0.7587 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/1.096, allocations: 7.293 MB / 0.7658 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003829/1.097, allocations: 0.5315 MB / 0.7663 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002648/1.099, allocations: 0.7066 MB / 0.767 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03681/1.136, allocations: 17.35 MB / 0.784 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003507/1.137, allocations: 93.7 kB / 0.784 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/1.139, allocations: 342 kB / 0.7844 GB, free: 100 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001852/1.14, allocations: 1.626 MB / 0.786 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/1.166, allocations: 13.96 MB / 0.7996 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06988/1.236, allocations: 76.7 MB / 0.8745 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01843/1.254, allocations: 7.893 MB / 0.8822 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00469/1.259, allocations: 4.045 MB / 0.8861 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01661/1.275, allocations: 10.1 MB / 0.896 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/1.276, allocations: 64.56 kB / 0.8961 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=277): time 5.861e-06/1.276, allocations: 0 / 0.8961 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319): time 0.3724/1.648, allocations: 28.63 MB / 0.924 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/1.648, allocations: 240.6 kB / 0.9243 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/1.66, allocations: 6.254 MB / 0.9304 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007097/1.661, allocations: 73.23 kB / 0.9304 GB, free: 112 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0037/1.664, allocations: 4.904 MB / 0.9352 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/1.666, allocations: 1.205 MB / 0.9364 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000491/1.666, allocations: 179.1 kB / 0.9366 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004914/1.667, allocations: 0.6883 MB / 0.9372 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/1.672, allocations: 3.445 MB / 0.9406 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006599/1.678, allocations: 8.705 MB / 0.9491 GB, free: 102 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006843/1.685, allocations: 5.429 MB / 0.9544 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/1.685, allocations: 51.66 kB / 0.9545 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02571/1.711, allocations: 13.44 MB / 0.9676 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002292/1.711, allocations: 83.72 kB / 0.9677 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002853/1.712, allocations: 185.2 kB / 0.9678 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003665/1.715, allocations: 1.703 MB / 0.9695 GB, free: 97.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006928/1.722, allocations: 2.175 MB / 0.9716 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/1.734, allocations: 11.38 MB / 0.9827 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008772/1.743, allocations: 0.5109 MB / 0.9832 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001988/1.745, allocations: 0.5306 MB / 0.9838 GB, free: 91.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 83 (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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1097 * 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.003172/1.748, allocations: 0.8048 MB / 0.9845 GB, free: 90.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001969/1.75, allocations: 0.6046 MB / 0.9851 GB, free: 90.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/1.762, allocations: 6.679 MB / 0.9917 GB, free: 88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.002e-05/1.763, allocations: 34.08 kB / 0.9917 GB, free: 88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.912e-05/1.763, allocations: 11.44 kB / 0.9917 GB, free: 88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.909e-05/1.763, allocations: 12.98 kB / 0.9917 GB, free: 88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03316/1.796, allocations: 15.72 MB / 1.007 GB, free: 82.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.803e-05/1.796, allocations: 7.125 kB / 1.007 GB, free: 82.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/1.799, allocations: 0.6245 MB / 1.008 GB, free: 82.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003347/1.802, allocations: 1.419 MB / 1.009 GB, free: 82.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007495/1.803, allocations: 62.5 kB / 1.009 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/1.814, allocations: 10.6 MB / 1.019 GB, free: 76.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.815, allocations: 7.625 kB / 1.019 GB, free: 76.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/1.832, allocations: 12.07 MB / 1.031 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003009/1.835, allocations: 0.6857 MB / 1.032 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002279/1.837, allocations: 53.17 kB / 1.032 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003883/1.841, allocations: 207.4 kB / 1.032 GB, free: 65.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005774/1.842, allocations: 203.7 kB / 1.032 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/1.842, allocations: 81.17 kB / 1.032 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01013/1.852, allocations: 4.467 MB / 1.037 GB, free: 60.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.32e-07/1.852, allocations: 0 / 1.037 GB, free: 60.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01072/1.863, allocations: 1.674 MB / 1.038 GB, free: 59.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 256 * 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.001175/1.864, allocations: 218.9 kB / 1.039 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.877, allocations: 8.594 MB / 1.047 GB, free: 51.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/1.877, allocations: 8.188 kB / 1.047 GB, free: 51.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005672/1.882, allocations: 3.373 MB / 1.05 GB, free: 48.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006397/1.889, allocations: 0.7655 MB / 1.051 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02964/1.918, allocations: 13.53 MB / 1.064 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008688/1.927, allocations: 5.203 MB / 1.069 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00929/1.937, allocations: 3 MB / 1.072 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002244/1.939, allocations: 413.2 kB / 1.073 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/1.939, allocations: 3.938 kB / 1.073 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.6813/2.62, allocations: 64.97 MB / 1.136 GB, free: 102.7 MB / 0.5418 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches