Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002377/0.002376, allocations: 172.5 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 88.58 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2553/0.2553, allocations: 43.5 MB / 353.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.083e-05/1.098e-05, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2842, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.4676, allocations: 104.4 MB / 0.5673 GB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.4679, allocations: 71.97 kB / 0.5674 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2605/0.7284, allocations: 64.14 MB / 0.63 GB, free: 9.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001681/0.7286, allocations: 64 kB / 0.6301 GB, free: 9.867 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.0112/0.7398, allocations: 3.141 MB / 0.6331 GB, free: 6.668 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.7399, allocations: 8.031 kB / 0.6332 GB, free: 6.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/0.755, allocations: 1.617 MB / 0.6347 GB, free: 5.035 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007392/0.7625, allocations: 2.048 MB / 0.6367 GB, free: 2.938 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.7627, allocations: 123.9 kB / 0.6369 GB, free: 2.816 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/0.7645, allocations: 208 kB / 0.6371 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2133/0.9778, allocations: 5.478 MB / 0.6424 GB, free: 94.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.998, allocations: 7.494 MB / 0.6497 GB, free: 93.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.9982, allocations: 26.59 kB / 0.6497 GB, free: 93.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001271/0.9995, allocations: 10.16 kB / 0.6498 GB, free: 93.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001404/1.001, allocations: 0.8534 MB / 0.6506 GB, free: 93.01 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04974/1.051, allocations: 26.73 MB / 0.6767 GB, free: 81.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/1.054, allocations: 1.741 MB / 0.6784 GB, free: 80.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/1.056, allocations: 0.7208 MB / 0.6791 GB, free: 80.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.456e-05/1.056, allocations: 17.11 kB / 0.6791 GB, free: 80.69 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.056, allocations: 42.75 kB / 0.6792 GB, free: 80.65 MB / 474.7 MB Notification: Performance of pre-optimization done (n=132): time 5.31e-06/1.056, allocations: 7.312 kB / 0.6792 GB, free: 80.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.007623/1.063, allocations: 1.95 MB / 0.6811 GB, free: 80.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/1.063, allocations: 64.41 kB / 0.6811 GB, free: 80.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/1.067, allocations: 1.8 MB / 0.6829 GB, free: 80.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/1.068, allocations: 25.7 kB / 0.6829 GB, free: 80.13 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/1.069, allocations: 2.28 MB / 0.6851 GB, free: 78.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006758/1.07, allocations: 491.8 kB / 0.6856 GB, free: 78.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/1.07, allocations: 3.75 kB / 0.6856 GB, free: 78.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/1.07, allocations: 482.9 kB / 0.6861 GB, free: 78.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/1.073, allocations: 1.089 MB / 0.6871 GB, free: 78.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004128/1.077, allocations: 3.382 MB / 0.6904 GB, free: 75.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004337/1.082, allocations: 1.98 MB / 0.6924 GB, free: 75.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-05/1.082, allocations: 26.06 kB / 0.6924 GB, free: 75.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01097/1.093, allocations: 3.936 MB / 0.6962 GB, free: 74.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/1.093, allocations: 15.22 kB / 0.6962 GB, free: 74.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001589/1.093, allocations: 85.56 kB / 0.6963 GB, free: 74.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/1.093, allocations: 125.2 kB / 0.6964 GB, free: 74.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00572/1.099, allocations: 0.8745 MB / 0.6973 GB, free: 74.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001604/1.099, allocations: 162.2 kB / 0.6975 GB, free: 74.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/1.102, allocations: 277 kB / 0.6977 GB, free: 74.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006751/1.103, allocations: 233.2 kB / 0.6979 GB, free: 74.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (484): * Single equations (assignments): 481 * 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.0007122/1.104, allocations: 250.6 kB / 0.6982 GB, free: 74.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006631/1.105, allocations: 190 kB / 0.6984 GB, free: 74.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005867/1.11, allocations: 1.662 MB / 0.7 GB, free: 74 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.331e-05/1.111, allocations: 9.656 kB / 0.7 GB, free: 74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.111, allocations: 3.625 kB / 0.7 GB, free: 74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/1.111, allocations: 6.469 kB / 0.7 GB, free: 74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/1.136, allocations: 8.101 MB / 0.7079 GB, free: 72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/1.136, allocations: 16 kB / 0.7079 GB, free: 71.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002299/1.138, allocations: 204.7 kB / 0.7081 GB, free: 71.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.423e-05/1.138, allocations: 24 kB / 0.7081 GB, free: 71.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/1.139, allocations: 35.8 kB / 0.7082 GB, free: 71.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.148e-05/1.139, allocations: 31.34 kB / 0.7082 GB, free: 71.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.52e-05/1.139, allocations: 23.94 kB / 0.7082 GB, free: 71.72 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005545/1.144, allocations: 3.368 MB / 0.7115 GB, free: 68.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/1.145, allocations: 347.3 kB / 0.7119 GB, free: 67.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005389/1.146, allocations: 31.45 kB / 0.7119 GB, free: 67.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/1.148, allocations: 27.59 kB / 0.7119 GB, free: 67.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/1.148, allocations: 114.9 kB / 0.712 GB, free: 67.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.148, allocations: 58.72 kB / 0.7121 GB, free: 67.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003224/1.151, allocations: 1.201 MB / 0.7133 GB, free: 66.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00676/1.158, allocations: 0.873 MB / 0.7141 GB, free: 65.99 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0006473/1.159, allocations: 170.9 kB / 0.7143 GB, free: 65.83 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007371/1.166, allocations: 2.605 MB / 0.7168 GB, free: 64.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/1.166, allocations: 0 / 0.7168 GB, free: 64.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.169, allocations: 0.7627 MB / 0.7176 GB, free: 63.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.171, allocations: 216.8 kB / 0.7178 GB, free: 63.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.192, allocations: 6.36 MB / 0.724 GB, free: 58.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007195/1.199, allocations: 3.106 MB / 0.727 GB, free: 55.77 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/1.199, allocations: 0 / 0.727 GB, free: 55.77 MB / 474.7 MB Notification: Performance of Templates: time 0.1148/1.314, allocations: 37.03 MB / 0.7632 GB, free: 21.95 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches