Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 182.8 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.66/1.66, 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.001289/0.001288, allocations: 98.86 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.2312/0.2312, allocations: 43.55 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002912, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 58.85 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5534, allocations: 102.1 MB / 0.5785 GB, free: 13.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5537, allocations: 81.89 kB / 0.5786 GB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1365/0.6902, allocations: 57.02 MB / 0.6343 GB, free: 12.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6903, allocations: 0 / 0.6343 GB, free: 12.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.629e-05/0.6904, allocations: 55.98 kB / 0.6343 GB, free: 12.37 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.005131/0.6955, allocations: 2.784 MB / 0.637 GB, free: 9.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.6956, allocations: 12.03 kB / 0.6371 GB, free: 9.727 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007147/0.7027, allocations: 1.844 MB / 0.6389 GB, free: 7.875 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005136/0.7079, allocations: 1.756 MB / 0.6406 GB, free: 6.305 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.7081, allocations: 221.9 kB / 0.6408 GB, free: 6.086 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009723/0.7091, allocations: 291.9 kB / 0.6411 GB, free: 5.801 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.7226, allocations: 6.819 MB / 0.6477 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.379e-05/0.7227, allocations: 19.81 kB / 0.6477 GB, free: 14.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/0.7231, allocations: 139.9 kB / 0.6479 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009475/0.724, allocations: 0.704 MB / 0.6486 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.735, allocations: 5.951 MB / 0.6544 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03187/0.7669, allocations: 23.93 MB / 0.6777 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/0.7715, allocations: 2.194 MB / 0.6799 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007361/0.7789, allocations: 4.008 MB / 0.6838 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.779, allocations: 43.16 kB / 0.6838 GB, free: 8.633 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.997e-06/0.779, allocations: 4 kB / 0.6838 GB, free: 8.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.006105/0.7851, allocations: 2.508 MB / 0.6863 GB, free: 6.059 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.7852, allocations: 64.06 kB / 0.6864 GB, free: 5.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.7884, allocations: 1.824 MB / 0.6881 GB, free: 4.117 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/0.7884, allocations: 37.7 kB / 0.6882 GB, free: 4.074 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.7899, allocations: 2.003 MB / 0.6901 GB, free: 2.039 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/0.7903, allocations: 383.1 kB / 0.6905 GB, free: 1.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.7904, allocations: 64 kB / 0.6906 GB, free: 1.598 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.7907, allocations: 452.8 kB / 0.691 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.7921, allocations: 0.9471 MB / 0.6919 GB, free: 204 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.7949, allocations: 2.931 MB / 0.6948 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/0.7972, allocations: 1.671 MB / 0.6964 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-05/0.7972, allocations: 20 kB / 0.6964 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006157/0.8034, allocations: 3.79 MB / 0.7001 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.8035, allocations: 35.95 kB / 0.7002 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-05/0.8036, allocations: 72 kB / 0.7002 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.945e-05/0.8037, allocations: 104 kB / 0.7003 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.8057, allocations: 0.7252 MB / 0.701 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001037/0.8058, allocations: 135.9 kB / 0.7012 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.8081, allocations: 447.4 kB / 0.7016 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/0.8084, allocations: 192 kB / 0.7018 GB, free: 5.094 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 320 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (398): * Single equations (assignments): 395 * 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.002841/0.8112, allocations: 1.462 MB / 0.7032 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.8115, allocations: 177.7 kB / 0.7034 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.8135, allocations: 1.244 MB / 0.7046 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.8136, allocations: 12 kB / 0.7046 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.8136, allocations: 0 / 0.7046 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.8136, allocations: 3.984 kB / 0.7046 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2569/1.071, allocations: 5.032 MB / 0.7095 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.071, allocations: 9.438 kB / 0.7095 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/1.071, allocations: 147.2 kB / 0.7097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/1.071, allocations: 15.59 kB / 0.7097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/1.071, allocations: 25.36 kB / 0.7097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.981e-05/1.071, allocations: 22.73 kB / 0.7097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/1.071, allocations: 15.39 kB / 0.7097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/1.074, allocations: 2.326 MB / 0.712 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006159/1.074, allocations: 282.5 kB / 0.7123 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.074, allocations: 28.33 kB / 0.7123 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/1.075, allocations: 33.28 kB / 0.7123 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.075, allocations: 82.3 kB / 0.7124 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-05/1.075, allocations: 43.66 kB / 0.7125 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002672/1.078, allocations: 1.329 MB / 0.7138 GB, free: 138 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/1.078, allocations: 1.969 kB / 0.7138 GB, free: 138 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003598/1.082, allocations: 0.7718 MB / 0.7145 GB, free: 137.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0003526/1.082, allocations: 164.8 kB / 0.7147 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003875/1.086, allocations: 2.237 MB / 0.7169 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.086, allocations: 1.156 kB / 0.7169 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000892/1.087, allocations: 0.5667 MB / 0.7174 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.088, allocations: 244.5 kB / 0.7176 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.1, allocations: 6.948 MB / 0.7244 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/1.103, allocations: 2.52 MB / 0.7269 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002482/1.106, allocations: 1.048 MB / 0.7279 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/1.106, allocations: 135.3 kB / 0.728 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/1.106, allocations: 0 / 0.728 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.03/1.136, allocations: 15.17 MB / 0.7428 GB, free: 133.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches