Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [: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 trunk/package.mo): time 0.001339/0.001339, allocations: 199.5 kB / 8.537 MB, free: 1.684 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001132, allocations: 92.5 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1974/0.1974, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.791e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 63.25 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.491, allocations: 106.1 MB / 0.6074 GB, free: 13.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4912, allocations: 77.14 kB / 0.6074 GB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6072/1.098, allocations: 152.1 MB / 0.7559 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000326/1.099, allocations: 145.4 kB / 0.7561 GB, free: 103.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02002/1.119, allocations: 7.248 MB / 0.7632 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.119, allocations: 7.625 kB / 0.7632 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/1.135, allocations: 2.896 MB / 0.766 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0185/1.154, allocations: 7.947 MB / 0.7737 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003812/1.154, allocations: 245.3 kB / 0.774 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003586/1.158, allocations: 454.9 kB / 0.7744 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01767/1.175, allocations: 10.69 MB / 0.7849 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02698/1.202, allocations: 15.61 MB / 0.8001 GB, free: 96.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002451/1.202, allocations: 87.22 kB / 0.8002 GB, free: 96.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/1.204, allocations: 43.84 kB / 0.8002 GB, free: 96.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002021/1.206, allocations: 1.727 MB / 0.8019 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07614/1.282, allocations: 77.66 MB / 0.8778 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/1.285, allocations: 2.449 MB / 0.8802 GB, free: 43.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/1.287, allocations: 1.347 MB / 0.8815 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/1.299, allocations: 6.735 MB / 0.888 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.299, allocations: 46.97 kB / 0.8881 GB, free: 39.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=134): time 5.07e-06/1.299, allocations: 1 kB / 0.8881 GB, free: 39.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=134): time 0.01269/1.311, allocations: 3.915 MB / 0.8919 GB, free: 38.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/1.311, allocations: 140.5 kB / 0.892 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009435/1.321, allocations: 5.02 MB / 0.897 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002675/1.321, allocations: 25.7 kB / 0.897 GB, free: 35.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00273/1.324, allocations: 4.965 MB / 0.9018 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000678/1.325, allocations: 0.5771 MB / 0.9024 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/1.325, allocations: 0 / 0.9024 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003145/1.325, allocations: 0.6497 MB / 0.903 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/1.328, allocations: 1.959 MB / 0.9049 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003819/1.331, allocations: 7.429 MB / 0.9122 GB, free: 17.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004108/1.336, allocations: 3.785 MB / 0.9159 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-05/1.336, allocations: 56 kB / 0.9159 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01328/1.349, allocations: 7.994 MB / 0.9237 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.349, allocations: 4 kB / 0.9238 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000268/1.349, allocations: 200 kB / 0.9239 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/1.349, allocations: 288 kB / 0.9242 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006674/1.356, allocations: 1.97 MB / 0.9261 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002957/1.356, allocations: 386.3 kB / 0.9265 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007609/1.364, allocations: 1.073 MB / 0.9276 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.365, allocations: 0.5188 MB / 0.9281 GB, free: 3.504 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 68 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1031): * Single equations (assignments): 1028 * 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.001438/1.367, allocations: 0.5887 MB / 0.9286 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.368, allocations: 493.5 kB / 0.9291 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/1.369, allocations: 0.5717 MB / 0.9297 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/1.37, allocations: 19.91 kB / 0.9297 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.37, allocations: 4 kB / 0.9297 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.37, allocations: 3.562 kB / 0.9297 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.391, allocations: 13.05 MB / 0.9424 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/1.391, allocations: 20 kB / 0.9425 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009523/1.392, allocations: 209.5 kB / 0.9427 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-05/1.392, allocations: 28 kB / 0.9427 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/1.392, allocations: 35.47 kB / 0.9427 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.337e-05/1.392, allocations: 35.58 kB / 0.9427 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-05/1.392, allocations: 27.88 kB / 0.9428 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004424/1.396, allocations: 5.781 MB / 0.9484 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.398, allocations: 0.5405 MB / 0.949 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006903/1.398, allocations: 31.36 kB / 0.949 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.4, allocations: 121 kB / 0.9491 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/1.401, allocations: 117.8 kB / 0.9492 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.401, allocations: 59.91 kB / 0.9493 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.006852/1.408, allocations: 3.383 MB / 0.9526 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009564/1.417, allocations: 1.739 MB / 0.9543 GB, free: 11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 107 * 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.0008024/1.418, allocations: 165.5 kB / 0.9544 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008002/1.426, allocations: 4.559 MB / 0.9589 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/1.426, allocations: 4 kB / 0.9589 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.427, allocations: 0.847 MB / 0.9597 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/1.431, allocations: 0.6597 MB / 0.9604 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2235/1.654, allocations: 12.24 MB / 0.9723 GB, free: 175.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007542/1.662, allocations: 5.677 MB / 0.9779 GB, free: 174.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/1.662, allocations: 1.969 kB / 0.9779 GB, free: 174.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.07977/1.742, allocations: 39.42 MB / 1.016 GB, free: 173.2 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches