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.0008951/0.0008952, allocations: 183 kB / 13.19 MB, free: 2.129 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.184/1.184, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007427/0.0007426, allocations: 82.62 kB / 267 MB, free: 9.281 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.2918/0.2918, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.636e-05, allocations: 4 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09758, allocations: 58.84 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3181/0.4157, allocations: 105 MB / 0.5753 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001758/0.4159, allocations: 82.34 kB / 0.5754 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6232/1.039, allocations: 166.4 MB / 0.7379 GB, free: 55.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.432e-06/1.039, allocations: 0 / 0.7379 GB, free: 55.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004034/1.04, allocations: 159.6 kB / 0.7381 GB, free: 55.1 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.02353/1.063, allocations: 7.983 MB / 0.7459 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.063, allocations: 9.406 kB / 0.7459 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01861/1.082, allocations: 3.68 MB / 0.7495 GB, free: 51.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02343/1.105, allocations: 9.7 MB / 0.759 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007024/1.106, allocations: 0.6254 MB / 0.7596 GB, free: 50.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003462/1.109, allocations: 0.8267 MB / 0.7604 GB, free: 50.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03417/1.144, allocations: 19.4 MB / 0.7793 GB, free: 46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002316/1.144, allocations: 93.66 kB / 0.7794 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001116/1.145, allocations: 399 kB / 0.7798 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/1.147, allocations: 1.869 MB / 0.7816 GB, free: 45.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02701/1.174, allocations: 15.05 MB / 0.7963 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08141/1.256, allocations: 81.66 MB / 0.8761 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/1.27, allocations: 5.916 MB / 0.8818 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003916/1.274, allocations: 2.476 MB / 0.8842 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2709/1.545, allocations: 11.32 MB / 0.8953 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/1.545, allocations: 63.72 kB / 0.8954 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=250): time 5.761e-06/1.545, allocations: 0 / 0.8954 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=274): time 0.04029/1.585, allocations: 15.01 MB / 0.91 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/1.585, allocations: 158.2 kB / 0.9102 GB, free: 97.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.596, allocations: 5.863 MB / 0.9159 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005404/1.597, allocations: 67.16 kB / 0.916 GB, free: 97.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004232/1.601, allocations: 5.82 MB / 0.9216 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/1.603, allocations: 1.057 MB / 0.9227 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/1.603, allocations: 185.6 kB / 0.9229 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005118/1.604, allocations: 0.6868 MB / 0.9235 GB, free: 93.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/1.609, allocations: 2.485 MB / 0.9259 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007209/1.616, allocations: 8.264 MB / 0.934 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00688/1.623, allocations: 4.47 MB / 0.9384 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002188/1.623, allocations: 61.31 kB / 0.9384 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01906/1.642, allocations: 10.45 MB / 0.9487 GB, free: 84.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002418/1.643, allocations: 97.61 kB / 0.9487 GB, free: 84.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004343/1.643, allocations: 209.5 kB / 0.9489 GB, free: 84.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/1.644, allocations: 304.5 kB / 0.9492 GB, free: 84.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007958/1.652, allocations: 2.251 MB / 0.9514 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004394/1.652, allocations: 409.8 kB / 0.9518 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008218/1.66, allocations: 0.6207 MB / 0.9524 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.662, allocations: 0.5502 MB / 0.953 GB, free: 84.5 MB / 0.5261 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 () * 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.00193/1.664, allocations: 0.8362 MB / 0.9538 GB, free: 84.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.665, allocations: 0.5865 MB / 0.9544 GB, free: 83.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00491/1.67, allocations: 2.937 MB / 0.9572 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/1.67, allocations: 27.84 kB / 0.9573 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.67, allocations: 3.438 kB / 0.9573 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/1.67, allocations: 12.05 kB / 0.9573 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03596/1.706, allocations: 24.78 MB / 0.9815 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.648e-05/1.706, allocations: 61 kB / 0.9815 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/1.708, allocations: 0.5948 MB / 0.9821 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.778e-05/1.708, allocations: 95.72 kB / 0.9822 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/1.708, allocations: 129.8 kB / 0.9823 GB, free: 76.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.497e-05/1.708, allocations: 116.8 kB / 0.9824 GB, free: 76.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.385e-05/1.708, allocations: 106.8 kB / 0.9825 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007539/1.716, allocations: 16.9 MB / 0.999 GB, free: 59.06 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.718, allocations: 0.7238 MB / 0.9997 GB, free: 58.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.719, allocations: 142.2 kB / 0.9999 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/1.722, allocations: 207.4 kB / 1 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004423/1.723, allocations: 413.7 kB / 1 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.723, allocations: 170 kB / 1.001 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006727/1.73, allocations: 4.103 MB / 1.005 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.5e-07/1.73, allocations: 3.438 kB / 1.005 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009455/1.739, allocations: 1.554 MB / 1.006 GB, free: 56.73 MB / 0.5261 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 () * 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.0007964/1.74, allocations: 321.8 kB / 1.006 GB, free: 56.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008831/1.749, allocations: 6.026 MB / 1.012 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.063e-05/1.749, allocations: 10.91 kB / 1.012 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/1.751, allocations: 1.582 MB / 1.014 GB, free: 53.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004862/1.756, allocations: 0.9151 MB / 1.015 GB, free: 53.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/1.781, allocations: 14.86 MB / 1.029 GB, free: 41.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006267/1.788, allocations: 5.959 MB / 1.035 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007126/1.795, allocations: 2.903 MB / 1.038 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.796, allocations: 417.6 kB / 1.038 GB, free: 35.1 MB / 0.5261 GB Notification: Performance of SimCode: time 7.21e-07/1.796, allocations: 4 kB / 1.038 GB, free: 35.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.3515/2.147, allocations: 47.91 MB / 1.085 GB, free: 85.21 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