Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") translateModel(ModelicaTest.Tables.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002162/0.002162, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 90.39 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2877/0.2877, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.258e-05, allocations: 224 / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3934, allocations: 58.86 MB / 477.1 MB, free: 5.246 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.5518, allocations: 85.46 MB / 0.5494 GB, free: 13.83 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5521, allocations: 71.97 kB / 0.5494 GB, free: 13.76 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01067/0.5628, allocations: 2.863 MB / 0.5522 GB, free: 10.88 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5629, allocations: 0 / 0.5522 GB, free: 10.88 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.5629, allocations: 0 / 0.5522 GB, free: 10.88 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003696/0.5633, allocations: 360.6 kB / 0.5526 GB, free: 10.49 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5633, allocations: 8.031 kB / 0.5526 GB, free: 10.48 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.992e-05/0.5634, allocations: 12.2 kB / 0.5526 GB, free: 10.47 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.5635, allocations: 170 kB / 0.5528 GB, free: 10.27 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.5636, allocations: 4 kB / 0.5528 GB, free: 10.26 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.5636, allocations: 7.938 kB / 0.5528 GB, free: 10.25 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001194/0.5637, allocations: 31.98 kB / 0.5528 GB, free: 10.22 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.564, allocations: 171.4 kB / 0.553 GB, free: 10 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.564, allocations: 3.938 kB / 0.553 GB, free: 9.996 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.5641, allocations: 11.95 kB / 0.553 GB, free: 9.984 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.5641, allocations: 7.984 kB / 0.553 GB, free: 9.977 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.5655, allocations: 1.674 MB / 0.5546 GB, free: 8.207 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.054e-05/0.5656, allocations: 165.1 kB / 0.5548 GB, free: 8.035 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.5656, allocations: 80.14 kB / 0.5549 GB, free: 7.953 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.5657, allocations: 75.28 kB / 0.5549 GB, free: 7.879 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.5657, allocations: 113.8 kB / 0.555 GB, free: 7.758 MB / 395.1 MB Notification: Performance of pre-optimization done (n=0): time 2.314e-06/0.5658, allocations: 0 / 0.555 GB, free: 7.758 MB / 395.1 MB Notification: Performance of matching and sorting (n=0): time 9.064e-05/0.5659, allocations: 37.55 kB / 0.5551 GB, free: 7.715 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.5659, allocations: 51.41 kB / 0.5551 GB, free: 7.652 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.5661, allocations: 168.1 kB / 0.5553 GB, free: 7.484 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.5662, allocations: 25.7 kB / 0.5553 GB, free: 7.453 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.5663, allocations: 221.5 kB / 0.5555 GB, free: 7.234 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.5663, allocations: 8 kB / 0.5555 GB, free: 7.227 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.5663, allocations: 0 / 0.5555 GB, free: 7.227 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5665, allocations: 318.8 kB / 0.5558 GB, free: 6.906 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.5666, allocations: 23.98 kB / 0.5558 GB, free: 6.883 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.5667, allocations: 148.4 kB / 0.556 GB, free: 6.68 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.5669, allocations: 67.92 kB / 0.5561 GB, free: 6.613 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5669, allocations: 11.94 kB / 0.5561 GB, free: 6.602 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003829/0.5673, allocations: 161.7 kB / 0.5562 GB, free: 6.438 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5673, allocations: 12.61 kB / 0.5562 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.5674, allocations: 11.95 kB / 0.5562 GB, free: 6.414 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.5674, allocations: 8 kB / 0.5563 GB, free: 6.406 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.5676, allocations: 39.92 kB / 0.5563 GB, free: 6.367 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.5677, allocations: 11.98 kB / 0.5563 GB, free: 6.355 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.5678, allocations: 19.78 kB / 0.5563 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.5678, allocations: 8 kB / 0.5563 GB, free: 6.328 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001235/0.5679, allocations: 192.1 kB / 0.5565 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.568, allocations: 124.7 kB / 0.5566 GB, free: 6.004 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.5681, allocations: 109 kB / 0.5567 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-05/0.5682, allocations: 180.2 kB / 0.5569 GB, free: 5.703 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-05/0.5683, allocations: 182.8 kB / 0.5571 GB, free: 5.52 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.222e-05/0.5684, allocations: 188.2 kB / 0.5573 GB, free: 5.328 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.5687, allocations: 397.8 kB / 0.5576 GB, free: 4.895 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-05/0.5687, allocations: 112.9 kB / 0.5577 GB, free: 4.777 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.5688, allocations: 105 kB / 0.5578 GB, free: 4.668 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.522e-05/0.5689, allocations: 176.3 kB / 0.558 GB, free: 4.488 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.569, allocations: 184.2 kB / 0.5582 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.288e-05/0.5691, allocations: 176.3 kB / 0.5584 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-05/0.5691, allocations: 180.3 kB / 0.5585 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.5693, allocations: 319.6 kB / 0.5588 GB, free: 3.602 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.5694, allocations: 182 kB / 0.559 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.89e-05/0.5696, allocations: 192.2 kB / 0.5592 GB, free: 3.203 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.5697, allocations: 101 kB / 0.5593 GB, free: 3.098 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.5698, allocations: 184.2 kB / 0.5595 GB, free: 2.91 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.5698, allocations: 104.9 kB / 0.5596 GB, free: 2.801 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.57, allocations: 136 kB / 0.5597 GB, free: 2.668 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.57, allocations: 0 / 0.5597 GB, free: 2.668 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000374/0.5704, allocations: 12 kB / 0.5597 GB, free: 2.656 MB / 395.1 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 (0): * Single equations (assignments): 0 * 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.0005835/0.571, allocations: 252.6 kB / 0.5599 GB, free: 2.414 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.5712, allocations: 59.84 kB / 0.56 GB, free: 2.355 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5712, allocations: 0 / 0.56 GB, free: 2.355 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.5712, allocations: 0 / 0.56 GB, free: 2.355 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.5716, allocations: 0.5353 MB / 0.5605 GB, free: 1.816 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.572, allocations: 229.5 kB / 0.5607 GB, free: 1.559 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.5723, allocations: 0.7006 MB / 0.5614 GB, free: 0.832 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.5724, allocations: 15.44 kB / 0.5614 GB, free: 0.8164 MB / 395.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5724, allocations: 0 / 0.5614 GB, free: 0.8164 MB / 395.1 MB Notification: Performance of Templates: time 0.003887/0.5763, allocations: 1.279 MB / 0.5627 GB, free: 15.54 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches