Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,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.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,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.CutForce2") [: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.001004/0.001004, allocations: 178.5 kB / 8.519 MB, free: 1.828 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.148/1.148, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009013/0.0009013, allocations: 84.69 kB / 281.2 MB, free: 5.465 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.2067/0.2067, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.15e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 61.91 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2854/0.3859, allocations: 102.1 MB / 0.5937 GB, free: 10.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3861, allocations: 75.95 kB / 0.5938 GB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.129/0.5151, allocations: 51.74 MB / 0.6443 GB, free: 6.629 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.361e-05/0.5153, allocations: 52 kB / 0.6444 GB, free: 6.578 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.006484/0.5217, allocations: 2.523 MB / 0.6469 GB, free: 4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.5218, allocations: 15.97 kB / 0.6469 GB, free: 3.984 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007564/0.5294, allocations: 1.474 MB / 0.6483 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/0.5341, allocations: 1.672 MB / 0.6499 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.5342, allocations: 88 kB / 0.65 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005859/0.5348, allocations: 156 kB / 0.6502 GB, free: 0.543 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006648/0.5415, allocations: 4.211 MB / 0.6543 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008817/0.5503, allocations: 5.849 MB / 0.66 GB, free: 6.137 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.972e-05/0.5505, allocations: 19.81 kB / 0.66 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006009/0.5511, allocations: 8 kB / 0.66 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001067/0.5522, allocations: 0.6729 MB / 0.6607 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/0.5819, allocations: 21.66 MB / 0.6818 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.5839, allocations: 1.433 MB / 0.6832 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/0.5848, allocations: 0.5145 MB / 0.6837 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.364e-05/0.5849, allocations: 12.64 kB / 0.6838 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.585, allocations: 43.22 kB / 0.6838 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 4.328e-06/0.585, allocations: 0 / 0.6838 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.003739/0.5887, allocations: 1.495 MB / 0.6853 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.5888, allocations: 71.98 kB / 0.6853 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.5914, allocations: 1.575 MB / 0.6869 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.5915, allocations: 25.7 kB / 0.6869 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.5928, allocations: 1.805 MB / 0.6886 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/0.5932, allocations: 355.4 kB / 0.689 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.5933, allocations: 0 / 0.689 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002939/0.5936, allocations: 497.5 kB / 0.6895 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.5949, allocations: 0.8691 MB / 0.6903 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.5973, allocations: 2.833 MB / 0.6931 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.5994, allocations: 1.617 MB / 0.6947 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.52e-05/0.5995, allocations: 20 kB / 0.6947 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.005432/0.6049, allocations: 3.249 MB / 0.6978 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.6049, allocations: 8 kB / 0.6979 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/0.6051, allocations: 68 kB / 0.6979 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.6052, allocations: 104.8 kB / 0.698 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/0.6074, allocations: 0.7135 MB / 0.6987 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001057/0.6075, allocations: 143.4 kB / 0.6989 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.6095, allocations: 347.7 kB / 0.6992 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.6098, allocations: 192 kB / 0.6994 GB, free: 11.92 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.0004169/0.6102, allocations: 289.8 kB / 0.6996 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.6105, allocations: 169.8 kB / 0.6998 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.6123, allocations: 1.205 MB / 0.701 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.6124, allocations: 4 kB / 0.701 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6124, allocations: 0 / 0.701 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6124, allocations: 7.984 kB / 0.701 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007356/0.6198, allocations: 4.116 MB / 0.705 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.6198, allocations: 11.98 kB / 0.705 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.6204, allocations: 119.7 kB / 0.7051 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.201e-05/0.6204, allocations: 15.98 kB / 0.7052 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.6205, allocations: 12.72 kB / 0.7052 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.6205, allocations: 15.94 kB / 0.7052 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/0.6205, allocations: 16 kB / 0.7052 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00197/0.6225, allocations: 1.933 MB / 0.7071 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.623, allocations: 246.7 kB / 0.7073 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.6233, allocations: 8 kB / 0.7073 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.6239, allocations: 15.98 kB / 0.7073 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.624, allocations: 59.78 kB / 0.7074 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.108e-05/0.6241, allocations: 32 kB / 0.7074 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001831/0.6259, allocations: 1.057 MB / 0.7085 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003114/0.6291, allocations: 0.6684 MB / 0.7091 GB, free: 1.383 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.0004272/0.6295, allocations: 146.9 kB / 0.7093 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2015/0.8311, allocations: 2.046 MB / 0.7113 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.8311, allocations: 0 / 0.7113 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.8317, allocations: 0.5369 MB / 0.7118 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.8327, allocations: 173.2 kB / 0.7119 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.8392, allocations: 4.396 MB / 0.7162 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002181/0.8414, allocations: 2.535 MB / 0.7187 GB, free: 119 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.8414, allocations: 0 / 0.7187 GB, free: 119 MB / 0.5105 GB Notification: Performance of Templates: time 0.02722/0.8686, allocations: 14.52 MB / 0.7329 GB, free: 118.2 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches