Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00187/0.00187, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009505/0.0009505, allocations: 94.53 kB / 267.1 MB, free: 9.277 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.3769/0.3769, allocations: 43.47 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.963e-05, allocations: 4 kB / 425.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 58.85 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.522, allocations: 87.14 MB / 0.5579 GB, free: 1.883 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.5222, allocations: 75.25 kB / 0.558 GB, free: 1.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01062/0.5329, allocations: 4.42 MB / 0.5623 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.5329, allocations: 0.6562 kB / 0.5623 GB, free: 13.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.5329, allocations: 0 / 0.5623 GB, free: 13.43 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004879/0.5334, allocations: 404.8 kB / 0.5627 GB, free: 13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5335, allocations: 8.031 kB / 0.5627 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.5335, allocations: 11.91 kB / 0.5627 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.5338, allocations: 216.4 kB / 0.5629 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.5338, allocations: 4 kB / 0.5629 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.5338, allocations: 0 / 0.5629 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.534, allocations: 52.27 kB / 0.563 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.534, allocations: 1.375 kB / 0.563 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.534, allocations: 4 kB / 0.563 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.534, allocations: 3.5 kB / 0.563 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.5341, allocations: 23.98 kB / 0.563 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.5345, allocations: 324.7 kB / 0.5633 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/0.5346, allocations: 42.56 kB / 0.5633 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.5347, allocations: 16.86 kB / 0.5634 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.5347, allocations: 0 / 0.5634 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.5347, allocations: 34.56 kB / 0.5634 GB, free: 12.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.5347, allocations: 0 / 0.5634 GB, free: 12.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005269/0.5353, allocations: 173.2 kB / 0.5635 GB, free: 11.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.5353, allocations: 51.41 kB / 0.5636 GB, free: 11.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.5355, allocations: 195 kB / 0.5638 GB, free: 11.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.5356, allocations: 26.55 kB / 0.5638 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.5356, allocations: 112.1 kB / 0.5639 GB, free: 11.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.5357, allocations: 15.66 kB / 0.5639 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.5357, allocations: 11.94 kB / 0.5639 GB, free: 11.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5358, allocations: 322.8 kB / 0.5642 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.5359, allocations: 19.98 kB / 0.5643 GB, free: 11.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.5359, allocations: 19.94 kB / 0.5643 GB, free: 11.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.536, allocations: 27.98 kB / 0.5643 GB, free: 11.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.536, allocations: 0 / 0.5643 GB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00014/0.5361, allocations: 94.41 kB / 0.5644 GB, free: 11.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5361, allocations: 12 kB / 0.5644 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.5361, allocations: 0 / 0.5644 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5362, allocations: 3.953 kB / 0.5644 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.5363, allocations: 23.98 kB / 0.5644 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.5363, allocations: 0 / 0.5644 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.5364, allocations: 15.92 kB / 0.5645 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.5364, allocations: 8 kB / 0.5645 GB, free: 11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * 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 6.848e-05/0.5365, allocations: 106.2 kB / 0.5646 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.5365, allocations: 7.906 kB / 0.5646 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.5367, allocations: 115.6 kB / 0.5647 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.5367, allocations: 7.938 kB / 0.5647 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5367, allocations: 0 / 0.5647 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5368, allocations: 0 / 0.5647 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.5372, allocations: 402.4 kB / 0.5651 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5372, allocations: 4 kB / 0.5651 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.5373, allocations: 23.98 kB / 0.5651 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5373, allocations: 3.953 kB / 0.5651 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.5373, allocations: 0 / 0.5651 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5373, allocations: 4 kB / 0.5651 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5373, allocations: 0 / 0.5651 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.5375, allocations: 187.4 kB / 0.5653 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.5376, allocations: 97 kB / 0.5654 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.5376, allocations: 3.953 kB / 0.5654 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.5377, allocations: 16 kB / 0.5654 GB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.5378, allocations: 3.984 kB / 0.5654 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.5378, allocations: 4.875 kB / 0.5654 GB, free: 9.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.5379, allocations: 162.5 kB / 0.5656 GB, free: 9.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.538, allocations: 0 / 0.5656 GB, free: 9.785 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.5382, allocations: 27.94 kB / 0.5656 GB, free: 9.758 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0008476/0.539, allocations: 376.5 kB / 0.5659 GB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.5392, allocations: 51.94 kB / 0.566 GB, free: 9.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5392, allocations: 0 / 0.566 GB, free: 9.402 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.5393, allocations: 31.98 kB / 0.566 GB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.5395, allocations: 23.17 kB / 0.5661 GB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.5399, allocations: 194.1 kB / 0.5662 GB, free: 9.141 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5402, allocations: 0.7099 MB / 0.5669 GB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.131e-05/0.5403, allocations: 28.94 kB / 0.567 GB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.5404, allocations: 11.44 kB / 0.567 GB, free: 8.367 MB / 394.7 MB Notification: Performance of SimCode: time 2.134e-06/0.5404, allocations: 0 / 0.567 GB, free: 8.367 MB / 394.7 MB Notification: Performance of Templates: time 0.003701/0.5441, allocations: 1.328 MB / 0.5683 GB, free: 7.043 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches