Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.000975/0.0009752, allocations: 90.97 kB / 281.6 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1831/0.1831, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.288e-05/1.291e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3835/0.5117, allocations: 106.6 MB / 0.5988 GB, free: 5.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.512, allocations: 75.95 kB / 0.5989 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7265/1.239, allocations: 172.3 MB / 0.7671 GB, free: 61.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/1.239, allocations: 0 / 0.7671 GB, free: 61.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006514/1.239, allocations: 178.8 kB / 0.7673 GB, free: 61.91 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02559/1.265, allocations: 8.418 MB / 0.7755 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.265, allocations: 13.27 kB / 0.7756 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/1.285, allocations: 3.78 MB / 0.7792 GB, free: 58.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02449/1.31, allocations: 9.426 MB / 0.7884 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000668/1.31, allocations: 302.2 kB / 0.7887 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00476/1.315, allocations: 0.5321 MB / 0.7893 GB, free: 56.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0267/1.342, allocations: 12.32 MB / 0.8013 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04736/1.389, allocations: 17.88 MB / 0.8188 GB, free: 42.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006212/1.39, allocations: 83.22 kB / 0.8188 GB, free: 42.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004636/1.395, allocations: 48 kB / 0.8189 GB, free: 42.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003203/1.398, allocations: 1.862 MB / 0.8207 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1141/1.512, allocations: 84.46 MB / 0.9032 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.355/1.867, allocations: 2.698 MB / 0.9058 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/1.869, allocations: 1.303 MB / 0.9071 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/1.869, allocations: 32.62 kB / 0.9071 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/1.869, allocations: 61 kB / 0.9072 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=206): time 5.019e-06/1.869, allocations: 1 kB / 0.9072 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=218): time 0.02989/1.899, allocations: 12.06 MB / 0.9189 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/1.899, allocations: 149.6 kB / 0.9191 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009761/1.909, allocations: 5.154 MB / 0.9241 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004758/1.909, allocations: 26.77 kB / 0.9241 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005466/1.915, allocations: 6.118 MB / 0.9301 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.916, allocations: 0.8443 MB / 0.9309 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006611/1.917, allocations: 0 / 0.9309 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006251/1.917, allocations: 0.6807 MB / 0.9316 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003967/1.921, allocations: 2.168 MB / 0.9337 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005678/1.927, allocations: 7.999 MB / 0.9415 GB, free: 97.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00566/1.933, allocations: 4.099 MB / 0.9455 GB, free: 97.58 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/1.933, allocations: 57.91 kB / 0.9456 GB, free: 97.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1171) (initialization): time 0.0175/1.951, allocations: 8.842 MB / 0.9542 GB, free: 96.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/1.951, allocations: 95.53 kB / 0.9543 GB, free: 96.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002747/1.951, allocations: 210.2 kB / 0.9545 GB, free: 96.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/1.951, allocations: 308.4 kB / 0.9548 GB, free: 96.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00708/1.958, allocations: 2.194 MB / 0.957 GB, free: 96.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000276/1.959, allocations: 411.5 kB / 0.9574 GB, free: 96.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008352/1.967, allocations: 438.4 kB / 0.9578 GB, free: 96.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/1.969, allocations: 0.5526 MB / 0.9583 GB, free: 96.39 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 88 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1147): * Single equations (assignments): 1144 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002075/1.971, allocations: 0.6377 MB / 0.9589 GB, free: 95.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/1.973, allocations: 0.5387 MB / 0.9595 GB, free: 95.63 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/1.974, allocations: 0.6425 MB / 0.9601 GB, free: 95.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/1.974, allocations: 22.53 kB / 0.9601 GB, free: 95.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.492e-05/1.975, allocations: 2.469 kB / 0.9601 GB, free: 95.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/1.975, allocations: 13.83 kB / 0.9601 GB, free: 95.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02887/2.003, allocations: 19.06 MB / 0.9787 GB, free: 93.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.152e-05/2.004, allocations: 47.53 kB / 0.9788 GB, free: 93.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/2.005, allocations: 414.9 kB / 0.9792 GB, free: 93.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-05/2.005, allocations: 58.25 kB / 0.9792 GB, free: 93.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/2.005, allocations: 60.16 kB / 0.9793 GB, free: 93.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.161e-05/2.005, allocations: 79.27 kB / 0.9794 GB, free: 93.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.919e-05/2.005, allocations: 62.41 kB / 0.9794 GB, free: 93.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006729/2.012, allocations: 10.91 MB / 0.9901 GB, free: 81.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/2.014, allocations: 0.6011 MB / 0.9907 GB, free: 81.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006635/2.015, allocations: 66 kB / 0.9907 GB, free: 81.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/2.017, allocations: 161.4 kB / 0.9909 GB, free: 81.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/2.017, allocations: 275.3 kB / 0.9911 GB, free: 81.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/2.017, allocations: 117.3 kB / 0.9913 GB, free: 81.35 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006236/2.023, allocations: 3.44 MB / 0.9946 GB, free: 80.13 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/2.024, allocations: 0 / 0.9946 GB, free: 80.13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01056/2.034, allocations: 1.334 MB / 0.9959 GB, free: 80.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 211 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008021/2.035, allocations: 218.4 kB / 0.9961 GB, free: 79.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008177/2.043, allocations: 5.102 MB / 1.001 GB, free: 78.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.291e-05/2.043, allocations: 11.22 kB / 1.001 GB, free: 78.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/2.045, allocations: 1.169 MB / 1.002 GB, free: 77.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/2.05, allocations: 0.7967 MB / 1.003 GB, free: 77.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03337/2.084, allocations: 14.12 MB / 1.017 GB, free: 71.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/2.096, allocations: 6.204 MB / 1.023 GB, free: 69.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00822/2.104, allocations: 2.794 MB / 1.026 GB, free: 69.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009712/2.105, allocations: 365.8 kB / 1.026 GB, free: 68.71 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/2.105, allocations: 0 / 1.026 GB, free: 68.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.0833/2.189, allocations: 39.44 MB / 1.064 GB, free: 44.25 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches