Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 106.6 kB / 17.33 MB, free: 5.984 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.001739/0.001739, allocations: 193.3 kB / 18.25 MB, free: 5.074 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.39/1.39, allocations: 222.9 MB / 241.9 MB, free: 13.68 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.2178/0.2178, allocations: 44.17 MB / 336.2 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.59 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1391, allocations: 60.82 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003544/0.1427, allocations: 1.68 MB / 470.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.1436, allocations: 0.6721 MB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.1437, allocations: 4 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.1439, allocations: 19.97 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.1441, allocations: 27.91 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.374e-06/0.1442, allocations: 0 / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1443, allocations: 47.77 kB / 471.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.1444, allocations: 0 / 471.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.1444, allocations: 11.92 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.1445, allocations: 27.92 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.1445, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.1445, allocations: 19.98 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.979e-05/0.1446, allocations: 8 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.1446, allocations: 23.8 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.1447, allocations: 68.02 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1448, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1448, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1448, allocations: 0 / 471.3 MB, free: 12.08 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003335/0.1451, allocations: 359.3 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1451, allocations: 16.03 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.1452, allocations: 4.844 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.1453, allocations: 180.2 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1453, allocations: 8.359 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1454, allocations: 4.375 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1455, allocations: 119.3 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1456, allocations: 192 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1456, allocations: 3.938 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/0.1456, allocations: 23.98 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.1457, allocations: 47.84 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.1463, allocations: 0.8907 MB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.1464, allocations: 169.2 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.1465, allocations: 80.14 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1465, allocations: 83.22 kB / 473.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.1465, allocations: 113.8 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.1466, allocations: 0 / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.301e-05/0.1466, allocations: 37.55 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1467, allocations: 126.7 kB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1469, allocations: 186.1 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.1469, allocations: 25.7 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.147, allocations: 151.1 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.147, allocations: 0 / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.147, allocations: 49.55 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1472, allocations: 322.8 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.1472, allocations: 27.98 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1473, allocations: 160 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.1476, allocations: 208.8 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1476, allocations: 0 / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002875/0.1479, allocations: 201.4 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1479, allocations: 8 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1479, allocations: 4 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1479, allocations: 8 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.148, allocations: 39.92 kB / 474.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1481, allocations: 4 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.1482, allocations: 27.69 kB / 474.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1482, allocations: 8 kB / 475 MB, free: 8.055 MB / 350.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.1483, allocations: 222.1 kB / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.636e-05/0.1484, allocations: 112.8 kB / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.1484, allocations: 120.8 kB / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.652e-05/0.1485, allocations: 184.3 kB / 475.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.778e-05/0.1485, allocations: 180.2 kB / 475.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/0.1486, allocations: 180.3 kB / 475.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1488, allocations: 425.1 kB / 476.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/0.1489, allocations: 104.9 kB / 476.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.1489, allocations: 105 kB / 476.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.968e-05/0.149, allocations: 184.2 kB / 476.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.149, allocations: 176.3 kB / 476.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.798e-05/0.1491, allocations: 188.2 kB / 477.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.754e-05/0.1492, allocations: 184.2 kB / 477.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1494, allocations: 307.7 kB / 477.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.1494, allocations: 193.9 kB / 477.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.1495, allocations: 184.2 kB / 477.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.1496, allocations: 109 kB / 478 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.1496, allocations: 180.3 kB / 478.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.1497, allocations: 108.9 kB / 478.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.075e-05/0.1498, allocations: 131.2 kB / 478.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1498, allocations: 0 / 478.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1501, allocations: 12 kB / 478.5 MB, free: 4.316 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 (0): * Single equations (assignments): 0 * 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.0004388/0.1505, allocations: 285.9 kB / 478.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.1506, allocations: 71.78 kB / 478.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1507, allocations: 1.25 kB / 478.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.1507, allocations: 0 / 478.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.151, allocations: 467.6 kB / 479.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.1513, allocations: 269.1 kB / 479.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1516, allocations: 0.7044 MB / 480.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.1518, allocations: 53.02 kB / 480.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.1518, allocations: 11.44 kB / 480.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1518, allocations: 0 / 480.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of Templates: time 0.002651/0.1545, allocations: 0.6661 MB / 481 MB, free: 1.809 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches