Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,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.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,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.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 183 kB / 18.09 MB, free: 3.727 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.417/1.417, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0008266/0.0008269, allocations: 101.7 kB / 293.3 MB, free: 10.79 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.3455/0.3455, allocations: 44.14 MB / 388.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 61.87 MB / 0.5107 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4479, allocations: 103 MB / 0.6113 GB, free: 8.102 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.4482, allocations: 83.89 kB / 0.6113 GB, free: 8.023 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.126/0.5742, allocations: 53.04 MB / 0.6631 GB, free: 2.648 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5742, allocations: 0 / 0.6631 GB, free: 2.648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.502e-05/0.5744, allocations: 56 kB / 0.6632 GB, free: 2.594 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.005301/0.5797, allocations: 2.542 MB / 0.6657 GB, free: 15.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.5797, allocations: 8.031 kB / 0.6657 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006469/0.5862, allocations: 1.799 MB / 0.6674 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.5895, allocations: 1.689 MB / 0.6691 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.5897, allocations: 209.8 kB / 0.6693 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005316/0.5902, allocations: 272.3 kB / 0.6696 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.6009, allocations: 6.292 MB / 0.6757 GB, free: 5.332 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.176e-05/0.601, allocations: 12.06 kB / 0.6757 GB, free: 5.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003402/0.6013, allocations: 135.9 kB / 0.6758 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007727/0.6021, allocations: 0.6294 MB / 0.6765 GB, free: 4.555 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2258/0.8279, allocations: 5.462 MB / 0.6818 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.8523, allocations: 22.28 MB / 0.7035 GB, free: 94.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.8559, allocations: 2 MB / 0.7055 GB, free: 94.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008094/0.8568, allocations: 0.6897 MB / 0.7062 GB, free: 94.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0057/0.8625, allocations: 3.672 MB / 0.7098 GB, free: 92.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.8625, allocations: 38.12 kB / 0.7098 GB, free: 92.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.489e-06/0.8625, allocations: 0 / 0.7098 GB, free: 92.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004608/0.8671, allocations: 1.975 MB / 0.7117 GB, free: 91.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.8672, allocations: 61.25 kB / 0.7118 GB, free: 91.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.8694, allocations: 1.943 MB / 0.7137 GB, free: 91.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.8695, allocations: 34.11 kB / 0.7137 GB, free: 91.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008244/0.8703, allocations: 1.89 MB / 0.7156 GB, free: 89.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.8705, allocations: 312.9 kB / 0.7159 GB, free: 89.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.8706, allocations: 61.38 kB / 0.7159 GB, free: 89.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.8708, allocations: 494.1 kB / 0.7164 GB, free: 89.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.8719, allocations: 0.8506 MB / 0.7172 GB, free: 88.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.8738, allocations: 2.716 MB / 0.7199 GB, free: 86.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.8772, allocations: 3.901 MB / 0.7237 GB, free: 82.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.451e-05/0.8773, allocations: 21.28 kB / 0.7237 GB, free: 82.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005489/0.8827, allocations: 3.44 MB / 0.7271 GB, free: 81.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.8828, allocations: 33.72 kB / 0.7271 GB, free: 81.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.537e-05/0.8829, allocations: 65.06 kB / 0.7272 GB, free: 81.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.946e-05/0.883, allocations: 88.34 kB / 0.7272 GB, free: 81.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.8849, allocations: 0.6653 MB / 0.7279 GB, free: 81.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/0.885, allocations: 130 kB / 0.728 GB, free: 81.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.8868, allocations: 410.4 kB / 0.7284 GB, free: 81.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.8871, allocations: 184.2 kB / 0.7286 GB, free: 81.11 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.002288/0.8894, allocations: 1.375 MB / 0.7299 GB, free: 80.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.8896, allocations: 157.5 kB / 0.7301 GB, free: 80.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.89, allocations: 198.4 kB / 0.7303 GB, free: 80.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.89, allocations: 13.06 kB / 0.7303 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.89, allocations: 8.172 kB / 0.7303 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.89, allocations: 2.531 kB / 0.7303 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006515/0.8966, allocations: 4.11 MB / 0.7343 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.8966, allocations: 6.938 kB / 0.7343 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.897, allocations: 103.8 kB / 0.7344 GB, free: 78.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.897, allocations: 10.88 kB / 0.7344 GB, free: 78.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.8971, allocations: 20.33 kB / 0.7344 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.8971, allocations: 12.48 kB / 0.7344 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8971, allocations: 7.25 kB / 0.7344 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.8983, allocations: 1.263 MB / 0.7357 GB, free: 77.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.8987, allocations: 261 kB / 0.7359 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.8989, allocations: 20.69 kB / 0.736 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.8994, allocations: 31.97 kB / 0.736 GB, free: 77.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.8995, allocations: 57.27 kB / 0.736 GB, free: 77.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.8995, allocations: 31.55 kB / 0.7361 GB, free: 77.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001797/0.9013, allocations: 1.27 MB / 0.7373 GB, free: 77.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.9013, allocations: 7.344 kB / 0.7373 GB, free: 77.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002579/0.9039, allocations: 0.7043 MB / 0.738 GB, free: 76.91 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.0002624/0.9042, allocations: 154.2 kB / 0.7381 GB, free: 76.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002785/0.907, allocations: 1.982 MB / 0.7401 GB, free: 76.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.907, allocations: 0.875 kB / 0.7401 GB, free: 76.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.9075, allocations: 463.4 kB / 0.7405 GB, free: 76.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/0.9099, allocations: 244.4 kB / 0.7408 GB, free: 75.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/0.9184, allocations: 6.281 MB / 0.7469 GB, free: 72.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/0.9204, allocations: 2.322 MB / 0.7492 GB, free: 71.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0021/0.9225, allocations: 0.9733 MB / 0.7501 GB, free: 71.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.9228, allocations: 121.7 kB / 0.7502 GB, free: 71.28 MB / 490.7 MB Notification: Performance of SimCode: time 1.193e-06/0.9228, allocations: 2.938 kB / 0.7502 GB, free: 71.28 MB / 490.7 MB Notification: Performance of Templates: time 0.02513/0.9479, allocations: 13.78 MB / 0.7637 GB, free: 70.5 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches