Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 179 kB / 18.09 MB, free: 3.754 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.294/1.294, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008237/0.0008234, allocations: 98.73 kB / 293.3 MB, free: 10.78 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.3175/0.3175, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 8 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3402, allocations: 61.87 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5115, allocations: 103 MB / 0.6113 GB, free: 8.047 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.5118, allocations: 83.95 kB / 0.6114 GB, free: 7.969 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1293/0.6411, allocations: 53.05 MB / 0.6632 GB, free: 2.594 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6411, allocations: 0 / 0.6632 GB, free: 2.594 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001334/0.6412, allocations: 52 kB / 0.6632 GB, free: 2.543 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007788/0.649, allocations: 2.55 MB / 0.6657 GB, free: 15.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.6491, allocations: 8.031 kB / 0.6657 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007782/0.6569, allocations: 1.803 MB / 0.6675 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/0.6611, allocations: 1.685 MB / 0.6691 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/0.6614, allocations: 209.9 kB / 0.6693 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.6627, allocations: 268.3 kB / 0.6696 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.6753, allocations: 6.304 MB / 0.6757 GB, free: 5.266 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/0.6754, allocations: 16.06 kB / 0.6758 GB, free: 5.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/0.6758, allocations: 127.9 kB / 0.6759 GB, free: 5.125 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007843/0.6766, allocations: 0.6372 MB / 0.6765 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2431/0.9197, allocations: 5.455 MB / 0.6818 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02438/0.9441, allocations: 22.28 MB / 0.7036 GB, free: 94.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.9479, allocations: 2 MB / 0.7055 GB, free: 93.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.9487, allocations: 0.696 MB / 0.7062 GB, free: 93.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005686/0.9544, allocations: 3.659 MB / 0.7098 GB, free: 92.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.9545, allocations: 41.25 kB / 0.7098 GB, free: 92.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.587e-06/0.9545, allocations: 0 / 0.7098 GB, free: 92.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004598/0.9591, allocations: 1.98 MB / 0.7118 GB, free: 91.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.9591, allocations: 61.78 kB / 0.7118 GB, free: 91.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.9615, allocations: 1.934 MB / 0.7137 GB, free: 90.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.9616, allocations: 36.67 kB / 0.7137 GB, free: 90.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008744/0.9624, allocations: 1.891 MB / 0.7156 GB, free: 89.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.9626, allocations: 316.4 kB / 0.7159 GB, free: 89.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.9627, allocations: 56.38 kB / 0.7159 GB, free: 89.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.9629, allocations: 498.4 kB / 0.7164 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.964, allocations: 0.8454 MB / 0.7172 GB, free: 88.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.966, allocations: 2.715 MB / 0.7199 GB, free: 85.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.9698, allocations: 3.895 MB / 0.7237 GB, free: 82.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.246e-05/0.9698, allocations: 23.12 kB / 0.7237 GB, free: 82.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005363/0.9752, allocations: 3.447 MB / 0.7271 GB, free: 81.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/0.9753, allocations: 34.75 kB / 0.7271 GB, free: 81.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.833e-05/0.9754, allocations: 70.09 kB / 0.7272 GB, free: 81.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.9755, allocations: 89.69 kB / 0.7273 GB, free: 81.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.9773, allocations: 0.6623 MB / 0.7279 GB, free: 81.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000121/0.9775, allocations: 128.2 kB / 0.728 GB, free: 81.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.9794, allocations: 413.4 kB / 0.7284 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.9797, allocations: 184.4 kB / 0.7286 GB, free: 80.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.002507/0.9822, allocations: 1.37 MB / 0.73 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.9825, allocations: 161.2 kB / 0.7301 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.9828, allocations: 202.3 kB / 0.7303 GB, free: 80.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.9828, allocations: 13.09 kB / 0.7303 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.9829, allocations: 4.531 kB / 0.7303 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.9829, allocations: 2.859 kB / 0.7303 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006684/0.9896, allocations: 4.103 MB / 0.7343 GB, free: 78.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.9896, allocations: 9.625 kB / 0.7343 GB, free: 78.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.99, allocations: 103.1 kB / 0.7344 GB, free: 78.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.99, allocations: 13.67 kB / 0.7344 GB, free: 78.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.9901, allocations: 20.11 kB / 0.7345 GB, free: 78.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.9901, allocations: 15.19 kB / 0.7345 GB, free: 78.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9901, allocations: 10.41 kB / 0.7345 GB, free: 78.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.9913, allocations: 1.26 MB / 0.7357 GB, free: 77.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.9917, allocations: 256.4 kB / 0.736 GB, free: 77.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.9919, allocations: 20.28 kB / 0.736 GB, free: 77.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.9923, allocations: 27.94 kB / 0.736 GB, free: 77.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.9924, allocations: 54.55 kB / 0.7361 GB, free: 77.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/0.9925, allocations: 32.91 kB / 0.7361 GB, free: 77.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001732/0.9942, allocations: 1.271 MB / 0.7373 GB, free: 76.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9943, allocations: 3.609 kB / 0.7373 GB, free: 76.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002743/0.997, allocations: 0.7073 MB / 0.738 GB, free: 76.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003029/0.9973, allocations: 157.5 kB / 0.7382 GB, free: 76.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002802/1, allocations: 1.984 MB / 0.7401 GB, free: 75.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1, allocations: 0 / 0.7401 GB, free: 75.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004628/1.001, allocations: 468.6 kB / 0.7406 GB, free: 75.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/1.003, allocations: 227.7 kB / 0.7408 GB, free: 75.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/1.012, allocations: 6.283 MB / 0.7469 GB, free: 72.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/1.014, allocations: 2.328 MB / 0.7492 GB, free: 71.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002134/1.016, allocations: 0.9633 MB / 0.7501 GB, free: 71.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/1.017, allocations: 116.2 kB / 0.7502 GB, free: 71.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.001e-06/1.017, allocations: 0 / 0.7502 GB, free: 71.05 MB / 490.7 MB Notification: Performance of Templates: time 0.02444/1.041, allocations: 13.8 MB / 0.7637 GB, free: 70.26 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches