Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.615/1.615, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001021/0.001021, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2246/0.2246, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 11.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4095/0.5534, allocations: 105.1 MB / 0.5814 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.5538, allocations: 78.25 kB / 0.5815 GB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7193/1.273, allocations: 166.2 MB / 0.7438 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.515e-06/1.273, allocations: 0 / 0.7438 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000406/1.274, allocations: 162.2 kB / 0.7439 GB, free: 94.79 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.03299/1.307, allocations: 8.541 MB / 0.7523 GB, free: 91.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.307, allocations: 9.594 kB / 0.7523 GB, free: 91.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02028/1.327, allocations: 3.677 MB / 0.7559 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02656/1.354, allocations: 9.736 MB / 0.7654 GB, free: 89.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006883/1.354, allocations: 0.6325 MB / 0.766 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004485/1.359, allocations: 0.8316 MB / 0.7668 GB, free: 89.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05051/1.409, allocations: 19.68 MB / 0.786 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006441/1.41, allocations: 93.88 kB / 0.7861 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004786/1.415, allocations: 391.9 kB / 0.7865 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004627/1.419, allocations: 1.876 MB / 0.7883 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05132/1.471, allocations: 15.53 MB / 0.8035 GB, free: 80.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1268/1.598, allocations: 81.64 MB / 0.8832 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01632/1.614, allocations: 5.988 MB / 0.8891 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02649/1.641, allocations: 11.35 MB / 0.9001 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.415e-05/1.641, allocations: 64.55 kB / 0.9002 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 7.995e-06/1.641, allocations: 0 / 0.9002 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274): time 0.3509/1.992, allocations: 16.59 MB / 0.9164 GB, free: 98.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/1.992, allocations: 156.5 kB / 0.9165 GB, free: 98.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01777/2.009, allocations: 6.048 MB / 0.9225 GB, free: 97.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006118/2.01, allocations: 68.08 kB / 0.9225 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005034/2.015, allocations: 5.82 MB / 0.9282 GB, free: 94.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001824/2.017, allocations: 1.053 MB / 0.9292 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/2.018, allocations: 181.3 kB / 0.9294 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001182/2.02, allocations: 0.6917 MB / 0.9301 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005633/2.025, allocations: 2.688 MB / 0.9327 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008652/2.034, allocations: 8.47 MB / 0.941 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009814/2.044, allocations: 4.615 MB / 0.9455 GB, free: 86.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002788/2.044, allocations: 58.28 kB / 0.9455 GB, free: 86.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02718/2.071, allocations: 10.86 MB / 0.9561 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002991/2.072, allocations: 94.25 kB / 0.9562 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000427/2.072, allocations: 204.7 kB / 0.9564 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/2.072, allocations: 304.8 kB / 0.9567 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00906/2.082, allocations: 2.249 MB / 0.9589 GB, free: 85.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005588/2.082, allocations: 413.6 kB / 0.9593 GB, free: 85.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/2.093, allocations: 0.622 MB / 0.9599 GB, free: 85.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002716/2.095, allocations: 0.5536 MB / 0.9605 GB, free: 85.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1171): * Single equations (assignments): 1168 * 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.01204/2.108, allocations: 3.751 MB / 0.9641 GB, free: 84.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002921/2.111, allocations: 0.5916 MB / 0.9647 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009826/2.12, allocations: 2.999 MB / 0.9676 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.812e-05/2.12, allocations: 34.31 kB / 0.9677 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/2.121, allocations: 3.812 kB / 0.9677 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/2.121, allocations: 16.14 kB / 0.9677 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05058/2.171, allocations: 24.82 MB / 0.9919 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002663/2.171, allocations: 61.22 kB / 0.992 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/2.174, allocations: 0.6002 MB / 0.9926 GB, free: 73.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/2.174, allocations: 96.95 kB / 0.9927 GB, free: 73.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006244/2.175, allocations: 130.5 kB / 0.9928 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.564e-05/2.175, allocations: 116.6 kB / 0.9929 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.503e-05/2.175, allocations: 100.9 kB / 0.993 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/2.187, allocations: 16.96 MB / 1.01 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00303/2.19, allocations: 0.7213 MB / 1.01 GB, free: 56.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/2.192, allocations: 146.9 kB / 1.01 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/2.196, allocations: 213.9 kB / 1.011 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004362/2.196, allocations: 406.4 kB / 1.011 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/2.196, allocations: 176.8 kB / 1.011 GB, free: 55.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008853/2.205, allocations: 4.296 MB / 1.015 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.675e-06/2.205, allocations: 0 / 1.015 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01431/2.22, allocations: 1.558 MB / 1.017 GB, free: 54.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * 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 (318): * Single equations (assignments): 315 * 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.001378/2.221, allocations: 329 kB / 1.017 GB, free: 54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01167/2.233, allocations: 6.251 MB / 1.023 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.184e-05/2.233, allocations: 8 kB / 1.023 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002672/2.235, allocations: 1.605 MB / 1.025 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007684/2.243, allocations: 0.9094 MB / 1.026 GB, free: 48.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03904/2.282, allocations: 21.17 MB / 1.046 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01452/2.297, allocations: 5.963 MB / 1.052 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01115/2.308, allocations: 2.905 MB / 1.055 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/2.31, allocations: 417.7 kB / 1.055 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/2.31, allocations: 0 / 1.055 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.3589/2.669, allocations: 47.91 MB / 1.102 GB, free: 102.9 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches