Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.0009371, allocations: 95.92 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 168.8 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1778/0.1778, allocations: 44.24 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 8.281 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001977/0.1354, allocations: 1.325 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007509/0.1362, allocations: 411.3 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.1362, allocations: 0 / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.1368, allocations: 447.2 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.1371, allocations: 251.5 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1374, allocations: 110.1 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1376, allocations: 155.8 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1378, allocations: 20.12 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1379, allocations: 99.78 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.1382, allocations: 199.6 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1382, allocations: 0 / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.707e-05/0.1383, allocations: 35.98 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1384, allocations: 83.62 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/0.1385, allocations: 124.8 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.1388, allocations: 238.9 kB / 475.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1388, allocations: 0 / 475.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1388, allocations: 0 / 475.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1388, allocations: 0 / 475.7 MB, free: 9.836 MB / 350.1 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.0006582/0.1395, allocations: 0.5858 MB / 476.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1395, allocations: 12.03 kB / 476.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.1396, allocations: 36.47 kB / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1399, allocations: 304.1 kB / 476.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1399, allocations: 8.312 kB / 476.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.14, allocations: 384 / 476.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1401, allocations: 57.62 kB / 476.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1401, allocations: 0 / 476.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1401, allocations: 0 / 476.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1401, allocations: 0 / 476.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1403, allocations: 31.98 kB / 476.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1407, allocations: 388.6 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1409, allocations: 46.56 kB / 477.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.141, allocations: 16.94 kB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.141, allocations: 4 kB / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.141, allocations: 30.56 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1411, allocations: 0 / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005912/0.1416, allocations: 248.2 kB / 477.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1417, allocations: 51.41 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.1425, allocations: 0.8613 MB / 478.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1426, allocations: 25.7 kB / 478.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1427, allocations: 216.1 kB / 478.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1428, allocations: 15.8 kB / 478.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.1428, allocations: 13.72 kB / 478.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.143, allocations: 366.7 kB / 479 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.1431, allocations: 19.98 kB / 479 MB, free: 6.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.1432, allocations: 19.98 kB / 479 MB, free: 6.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1433, allocations: 60.83 kB / 479.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1433, allocations: 0 / 479.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002563/0.1436, allocations: 117.1 kB / 479.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1436, allocations: 10.5 kB / 479.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1436, allocations: 4 kB / 479.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1436, allocations: 0 / 479.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.1437, allocations: 19.92 kB / 479.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1437, allocations: 0 / 479.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.1438, allocations: 11.92 kB / 479.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1438, allocations: 8.25 kB / 479.3 MB, free: 6.066 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.144, allocations: 210.3 kB / 479.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.1441, allocations: 43.38 kB / 479.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.1443, allocations: 153 kB / 479.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1444, allocations: 4 kB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1444, allocations: 0 / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1444, allocations: 3.938 kB / 479.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.1449, allocations: 462.4 kB / 480.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1449, allocations: 4 kB / 480.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.145, allocations: 8 kB / 480.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.145, allocations: 4 kB / 480.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.145, allocations: 3.938 kB / 480.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.145, allocations: 4 kB / 480.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.145, allocations: 0 / 480.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1452, allocations: 219 kB / 480.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.1453, allocations: 108.5 kB / 480.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1454, allocations: 15.92 kB / 480.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.1454, allocations: 4 kB / 480.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.1455, allocations: 4 kB / 480.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1455, allocations: 0 / 480.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005828/0.1461, allocations: 0.6511 MB / 481.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 0 / 481.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1463, allocations: 24 kB / 481.2 MB, free: 4.059 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000893/0.1472, allocations: 409.3 kB / 481.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1474, allocations: 51.91 kB / 481.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1474, allocations: 0 / 481.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.1475, allocations: 27.98 kB / 481.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1479, allocations: 32.61 kB / 481.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1489, allocations: 0.8607 MB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.1494, allocations: 0.8185 MB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.583e-05/0.1495, allocations: 11.97 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.1495, allocations: 15.44 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1495, allocations: 0 / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of Templates: time 0.005101/0.1546, allocations: 1.34 MB / 484.7 MB, free: 0.6055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches