Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") [: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 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 188.8 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007606/0.0007605, allocations: 95.95 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1559/0.1559, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.241e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.3275, allocations: 106.3 MB / 0.5692 GB, free: 8.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3277, allocations: 75.95 kB / 0.5692 GB, free: 8.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5598/0.8875, allocations: 192.9 MB / 0.7576 GB, free: 48.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003951/0.888, allocations: 196 kB / 0.7578 GB, free: 48.11 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: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.02134/0.9093, allocations: 9.292 MB / 0.7669 GB, free: 38.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.9094, allocations: 12.03 kB / 0.7669 GB, free: 38.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.927, allocations: 3.402 MB / 0.7702 GB, free: 35.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02081/0.9478, allocations: 10.69 MB / 0.7806 GB, free: 24.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.9483, allocations: 352 kB / 0.781 GB, free: 24.17 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003286/0.9516, allocations: 0.6093 MB / 0.7816 GB, free: 23.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02259/0.9741, allocations: 15.06 MB / 0.7963 GB, free: 8.492 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04204/1.016, allocations: 21.24 MB / 0.817 GB, free: 1.637 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003961/1.017, allocations: 99.16 kB / 0.8171 GB, free: 1.539 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003662/1.02, allocations: 48 kB / 0.8172 GB, free: 1.492 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003872/1.024, allocations: 2.415 MB / 0.8195 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2381/1.262, allocations: 95.42 MB / 0.9127 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/1.267, allocations: 4.098 MB / 0.9167 GB, free: 79.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/1.269, allocations: 2.158 MB / 0.9188 GB, free: 79.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/1.283, allocations: 9.996 MB / 0.9286 GB, free: 77.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.283, allocations: 67.84 kB / 0.9286 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=288): time 4.719e-06/1.283, allocations: 0 / 0.9286 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288): time 0.01682/1.3, allocations: 6.271 MB / 0.9348 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/1.3, allocations: 171.3 kB / 0.9349 GB, free: 76.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007157/1.307, allocations: 5.882 MB / 0.9407 GB, free: 74.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003189/1.307, allocations: 25.7 kB / 0.9407 GB, free: 74.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.31, allocations: 6.514 MB / 0.947 GB, free: 70.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008121/1.311, allocations: 1.1 MB / 0.9481 GB, free: 69.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/1.311, allocations: 0 / 0.9481 GB, free: 69.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003737/1.311, allocations: 0.7682 MB / 0.9489 GB, free: 68.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/1.315, allocations: 2.899 MB / 0.9517 GB, free: 67.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005254/1.32, allocations: 9.741 MB / 0.9612 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00564/1.325, allocations: 5.258 MB / 0.9664 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.326, allocations: 74.66 kB / 0.9664 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.01719/1.343, allocations: 11.04 MB / 0.9772 GB, free: 52.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.343, allocations: 4.938 kB / 0.9772 GB, free: 52.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003466/1.343, allocations: 246.7 kB / 0.9774 GB, free: 52.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003794/1.344, allocations: 364.3 kB / 0.9778 GB, free: 52.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008319/1.352, allocations: 2.666 MB / 0.9804 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002536/1.352, allocations: 483.3 kB / 0.9809 GB, free: 52.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008649/1.361, allocations: 1.359 MB / 0.9822 GB, free: 51.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.362, allocations: 0.6751 MB / 0.9828 GB, free: 51.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1127 * Number of states: 0 () * Number of discrete variables: 72 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1405): * Single equations (assignments): 1402 * 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.00158/1.364, allocations: 0.7062 MB / 0.9835 GB, free: 50.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.365, allocations: 0.61 MB / 0.9841 GB, free: 50.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/1.37, allocations: 3.425 MB / 0.9875 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/1.37, allocations: 28 kB / 0.9875 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.37, allocations: 0 / 0.9875 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/1.37, allocations: 13.64 kB / 0.9875 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05484/1.425, allocations: 56.34 MB / 1.043 GB, free: 72 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-05/1.425, allocations: 63.84 kB / 1.043 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1436/1.569, allocations: 0.564 MB / 1.043 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-05/1.569, allocations: 79.69 kB / 1.043 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003337/1.569, allocations: 91.5 kB / 1.043 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.77e-05/1.569, allocations: 106.4 kB / 1.043 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-05/1.569, allocations: 85.69 kB / 1.043 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00702/1.576, allocations: 15.95 MB / 1.059 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.577, allocations: 0.7311 MB / 1.06 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007525/1.578, allocations: 83.62 kB / 1.06 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.581, allocations: 192.6 kB / 1.06 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/1.581, allocations: 317.7 kB / 1.06 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/1.581, allocations: 160.5 kB / 1.061 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00488/1.586, allocations: 3.941 MB / 1.064 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008277/1.595, allocations: 2.449 MB / 1.067 GB, free: 103.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.0004709/1.595, allocations: 247.5 kB / 1.067 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007862/1.603, allocations: 6.882 MB / 1.074 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.603, allocations: 11.78 kB / 1.074 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/1.605, allocations: 1.783 MB / 1.075 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/1.608, allocations: 0.7747 MB / 1.076 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/1.636, allocations: 17.17 MB / 1.093 GB, free: 98.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00837/1.644, allocations: 7.592 MB / 1.1 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/1.644, allocations: 3.562 kB / 1.1 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.09721/1.741, allocations: 56.31 MB / 1.155 GB, free: 87.98 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches