Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 191.9 kB / 7.808 MB, free: 2.438 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.027/1.027, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008414/0.0008414, allocations: 91.97 kB / 261.4 MB, free: 13.62 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.1524/0.1524, allocations: 43.49 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.729e-06/4.749e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2001, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.3076, allocations: 101.2 MB / 0.5642 GB, free: 13.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.3078, allocations: 79.23 kB / 0.5643 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1196/0.4274, allocations: 53.22 MB / 0.6163 GB, free: 8.027 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.213e-05/0.4275, allocations: 59.94 kB / 0.6163 GB, free: 7.969 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.003747/0.4313, allocations: 2.609 MB / 0.6189 GB, free: 5.301 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.4313, allocations: 12.03 kB / 0.6189 GB, free: 5.289 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006286/0.4376, allocations: 1.501 MB / 0.6203 GB, free: 3.781 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/0.4404, allocations: 1.727 MB / 0.622 GB, free: 2.004 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.4405, allocations: 92 kB / 0.6221 GB, free: 1.914 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003948/0.4409, allocations: 168 kB / 0.6223 GB, free: 1.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00549/0.4464, allocations: 4.458 MB / 0.6266 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007444/0.4539, allocations: 6.139 MB / 0.6326 GB, free: 6.758 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.454, allocations: 23.75 kB / 0.6326 GB, free: 6.734 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/0.4543, allocations: 12 kB / 0.6327 GB, free: 6.723 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007213/0.455, allocations: 0.7161 MB / 0.6334 GB, free: 6.004 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1337/0.5887, allocations: 22.54 MB / 0.6554 GB, free: 164.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.59, allocations: 1.546 MB / 0.6569 GB, free: 164.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.5906, allocations: 0.5825 MB / 0.6574 GB, free: 164.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.5906, allocations: 18.36 kB / 0.6575 GB, free: 164.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.5907, allocations: 45.25 kB / 0.6575 GB, free: 164 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 2.895e-06/0.5907, allocations: 0 / 0.6575 GB, free: 164 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.002935/0.5936, allocations: 1.63 MB / 0.6591 GB, free: 163.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.5936, allocations: 68.41 kB / 0.6592 GB, free: 163.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.5951, allocations: 1.625 MB / 0.6607 GB, free: 163.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.5952, allocations: 25.7 kB / 0.6608 GB, free: 163.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005806/0.5958, allocations: 1.885 MB / 0.6626 GB, free: 162.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.596, allocations: 407.7 kB / 0.663 GB, free: 162.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.5961, allocations: 0 / 0.663 GB, free: 162.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5962, allocations: 0.499 MB / 0.6635 GB, free: 162.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009402/0.5972, allocations: 0.9341 MB / 0.6644 GB, free: 162.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.5987, allocations: 2.994 MB / 0.6673 GB, free: 159.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.6003, allocations: 1.733 MB / 0.669 GB, free: 159.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/0.6004, allocations: 24.25 kB / 0.669 GB, free: 159.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=443) (initialization): time 0.00387/0.6042, allocations: 3.474 MB / 0.6724 GB, free: 159.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.6043, allocations: 7.281 kB / 0.6724 GB, free: 159.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.439e-05/0.6043, allocations: 71.72 kB / 0.6725 GB, free: 159.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.219e-05/0.6044, allocations: 110.7 kB / 0.6726 GB, free: 159.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.6064, allocations: 0.7633 MB / 0.6734 GB, free: 159.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.286e-05/0.6065, allocations: 149.4 kB / 0.6735 GB, free: 159 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.6081, allocations: 379.5 kB / 0.6739 GB, free: 158.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.6083, allocations: 204.7 kB / 0.6741 GB, free: 158.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (419): * Single equations (assignments): 416 * 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.0002951/0.6086, allocations: 300.3 kB / 0.6743 GB, free: 158.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.6088, allocations: 173.7 kB / 0.6745 GB, free: 158.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.6104, allocations: 1.371 MB / 0.6758 GB, free: 158.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.6104, allocations: 6.594 kB / 0.6759 GB, free: 158.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6104, allocations: 2.188 kB / 0.6759 GB, free: 158.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6104, allocations: 3.328 kB / 0.6759 GB, free: 158.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00577/0.6162, allocations: 5.256 MB / 0.681 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.6162, allocations: 11.69 kB / 0.681 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.6168, allocations: 156.7 kB / 0.6812 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.6168, allocations: 13.62 kB / 0.6812 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.6169, allocations: 20.86 kB / 0.6812 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.6169, allocations: 27.92 kB / 0.6812 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.6169, allocations: 22.5 kB / 0.6812 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001517/0.6185, allocations: 2.444 MB / 0.6836 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.6187, allocations: 253.3 kB / 0.6839 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.6189, allocations: 15.67 kB / 0.6839 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.6195, allocations: 19.64 kB / 0.6839 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.6196, allocations: 82.91 kB / 0.684 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/0.6197, allocations: 47.34 kB / 0.684 GB, free: 154 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001084/0.6207, allocations: 1.086 MB / 0.6851 GB, free: 153.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002454/0.6232, allocations: 0.7093 MB / 0.6858 GB, free: 153.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0002763/0.6235, allocations: 145.6 kB / 0.6859 GB, free: 153.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002604/0.6261, allocations: 2.226 MB / 0.6881 GB, free: 152.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6261, allocations: 2.625 kB / 0.6881 GB, free: 152.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006946/0.6268, allocations: 0.6246 MB / 0.6887 GB, free: 152.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.6275, allocations: 170.7 kB / 0.6889 GB, free: 152.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006911/0.6345, allocations: 4.782 MB / 0.6935 GB, free: 150.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002504/0.637, allocations: 2.634 MB / 0.6961 GB, free: 149.3 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/0.637, allocations: 1.031 kB / 0.6961 GB, free: 149.3 MB / 474.7 MB Notification: Performance of Templates: time 0.02654/0.6635, allocations: 15.69 MB / 0.7114 GB, free: 141.4 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches