Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009615/0.0009616, allocations: 179.4 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 221.4 MB / 230.3 MB, free: 7.723 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008508/0.0008509, allocations: 92.67 kB / 281.2 MB, free: 5.469 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.1659/0.1659, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.424e-06, allocations: 4.219 kB / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 61.91 MB / 0.4941 GB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2823/0.3961, allocations: 102.1 MB / 0.5938 GB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3964, allocations: 79.95 kB / 0.5938 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1256/0.522, allocations: 51.76 MB / 0.6444 GB, free: 6.543 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.223e-05/0.5221, allocations: 52 kB / 0.6444 GB, free: 6.492 MB / 458.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.004808/0.527, allocations: 2.519 MB / 0.6469 GB, free: 3.918 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.527, allocations: 15.97 kB / 0.6469 GB, free: 3.902 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007138/0.5342, allocations: 1.47 MB / 0.6483 GB, free: 2.422 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/0.538, allocations: 1.672 MB / 0.65 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.014e-05/0.5381, allocations: 88 kB / 0.6501 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005317/0.5387, allocations: 156 kB / 0.6502 GB, free: 472 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00654/0.5452, allocations: 4.215 MB / 0.6543 GB, free: 12.24 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008742/0.554, allocations: 5.845 MB / 0.66 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/0.5541, allocations: 19.81 kB / 0.6601 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.5544, allocations: 12 kB / 0.6601 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007047/0.5551, allocations: 0.6767 MB / 0.6607 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02687/0.582, allocations: 21.65 MB / 0.6819 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.5836, allocations: 1.429 MB / 0.6833 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.5842, allocations: 0.5145 MB / 0.6838 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.5843, allocations: 12.64 kB / 0.6838 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.5843, allocations: 39.22 kB / 0.6838 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 3.166e-06/0.5843, allocations: 0 / 0.6838 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.003334/0.5877, allocations: 1.499 MB / 0.6853 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5877, allocations: 60.06 kB / 0.6853 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.5896, allocations: 1.583 MB / 0.6869 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.5897, allocations: 25.7 kB / 0.6869 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009846/0.5907, allocations: 1.809 MB / 0.6887 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.591, allocations: 355.4 kB / 0.689 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.5911, allocations: 0 / 0.689 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002496/0.5913, allocations: 0.4897 MB / 0.6895 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.5924, allocations: 0.8613 MB / 0.6903 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.5947, allocations: 2.829 MB / 0.6931 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.5967, allocations: 1.622 MB / 0.6947 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/0.5967, allocations: 20 kB / 0.6947 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.004621/0.6013, allocations: 3.258 MB / 0.6979 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6014, allocations: 4 kB / 0.6979 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.551e-05/0.6014, allocations: 72 kB / 0.698 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.838e-05/0.6015, allocations: 100 kB / 0.6981 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.6035, allocations: 0.7096 MB / 0.6987 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.314e-05/0.6036, allocations: 139.5 kB / 0.6989 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.6053, allocations: 351.9 kB / 0.6992 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/0.6056, allocations: 196 kB / 0.6994 GB, free: 11.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 323 * Number of states: 0 () * Number of discrete variables: 26 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (390): * Single equations (assignments): 387 * 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.0003076/0.6059, allocations: 289.8 kB / 0.6997 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.6061, allocations: 161.8 kB / 0.6998 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.6078, allocations: 1.212 MB / 0.701 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.6078, allocations: 4 kB / 0.701 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6078, allocations: 4 kB / 0.701 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6079, allocations: 3.984 kB / 0.701 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005998/0.6139, allocations: 4.116 MB / 0.705 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.6139, allocations: 8 kB / 0.7051 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.6144, allocations: 123.8 kB / 0.7052 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.6144, allocations: 8 kB / 0.7052 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.6145, allocations: 19.98 kB / 0.7052 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.6145, allocations: 12 kB / 0.7052 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/0.6145, allocations: 11.94 kB / 0.7052 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001851/0.6164, allocations: 1.937 MB / 0.7071 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.6167, allocations: 238.7 kB / 0.7073 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.6169, allocations: 15.94 kB / 0.7074 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.6174, allocations: 11.98 kB / 0.7074 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.6175, allocations: 59.78 kB / 0.7074 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.6176, allocations: 39.98 kB / 0.7075 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001486/0.6191, allocations: 1.061 MB / 0.7085 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002562/0.6217, allocations: 0.6645 MB / 0.7091 GB, free: 1.285 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 65 * 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.0002944/0.622, allocations: 142.9 kB / 0.7093 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1391/0.7611, allocations: 2.043 MB / 0.7113 GB, free: 209.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7611, allocations: 0 / 0.7113 GB, free: 209.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.7617, allocations: 0.5443 MB / 0.7118 GB, free: 209.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/0.7627, allocations: 174.2 kB / 0.712 GB, free: 209.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/0.7692, allocations: 4.399 MB / 0.7163 GB, free: 208.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/0.7714, allocations: 2.528 MB / 0.7187 GB, free: 207.4 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/0.7714, allocations: 0 / 0.7187 GB, free: 207.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.04222/0.8136, allocations: 14.53 MB / 0.7329 GB, free: 206.7 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches