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.001028/0.001028, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001068/0.001068, allocations: 192 kB / 18.55 MB, free: 4.566 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.327/1.327, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.2011/0.2011, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 61.78 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1231, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.004105/0.1272, allocations: 1.603 MB / 470.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.1282, allocations: 435.1 kB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.1283, allocations: 0 / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.1289, allocations: 451.1 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.1293, allocations: 251.5 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1296, allocations: 130.9 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1299, allocations: 159.7 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.13, allocations: 16.11 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1301, allocations: 111.8 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.1303, allocations: 207.6 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1304, allocations: 4 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.56e-05/0.1305, allocations: 27.98 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1306, allocations: 83.69 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.1307, allocations: 103 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.1311, allocations: 247 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.1311, allocations: 4 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1311, allocations: 0 / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1312, allocations: 3.938 kB / 473 MB, free: 10.57 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.0008087/0.132, allocations: 0.6261 MB / 473.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.132, allocations: 8.031 kB / 473.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.1321, allocations: 44.38 kB / 473.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.1324, allocations: 288.2 kB / 474 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1324, allocations: 4.312 kB / 474 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1325, allocations: 8.375 kB / 474 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1326, allocations: 57.55 kB / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1327, allocations: 0 / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1327, allocations: 4 kB / 474.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1327, allocations: 0 / 474.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1328, allocations: 31.97 kB / 474.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.1333, allocations: 380.7 kB / 474.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.1336, allocations: 42.5 kB / 474.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.1337, allocations: 16.94 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1337, allocations: 8 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1337, allocations: 34.56 kB / 474.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1337, allocations: 0 / 474.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006167/0.1344, allocations: 219.9 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1344, allocations: 51.41 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008405/0.1353, allocations: 0.8613 MB / 475.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1353, allocations: 29.69 kB / 475.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1354, allocations: 216.1 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1355, allocations: 19.72 kB / 476 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1355, allocations: 17.72 kB / 476 MB, free: 7.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.1357, allocations: 358.8 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.1358, allocations: 19.98 kB / 476.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.1359, allocations: 19.98 kB / 476.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.136, allocations: 52.77 kB / 476.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.136, allocations: 0 / 476.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001964/0.1362, allocations: 109.2 kB / 476.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1362, allocations: 4 kB / 476.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1362, allocations: 0 / 476.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1363, allocations: 0 / 476.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.1363, allocations: 16.23 kB / 476.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1363, allocations: 4 kB / 476.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.1364, allocations: 11.94 kB / 476.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1364, allocations: 0 / 476.6 MB, free: 6.812 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.0001787/0.1366, allocations: 217.7 kB / 476.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.1367, allocations: 43.44 kB / 476.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.1369, allocations: 137 kB / 477 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1369, allocations: 4 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.137, allocations: 3.938 kB / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.137, allocations: 3.938 kB / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.1375, allocations: 454.5 kB / 477.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1375, allocations: 0 / 477.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.1375, allocations: 19.98 kB / 477.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1375, allocations: 0 / 477.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1376, allocations: 7.938 kB / 477.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1376, allocations: 0 / 477.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1376, allocations: 288 / 477.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1378, allocations: 211 kB / 477.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.1379, allocations: 108.6 kB / 477.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1379, allocations: 7.875 kB / 477.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.138, allocations: 4 kB / 477.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1381, allocations: 11.98 kB / 477.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1381, allocations: 4 kB / 477.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006132/0.1387, allocations: 0.6433 MB / 478.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1387, allocations: 0 / 478.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000248/0.139, allocations: 20 kB / 478.4 MB, free: 4.828 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.0009495/0.1399, allocations: 409 kB / 478.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1401, allocations: 51.97 kB / 478.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1401, allocations: 0 / 478.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.1402, allocations: 31.91 kB / 478.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1406, allocations: 17.97 kB / 478.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1417, allocations: 0.795 MB / 479.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/0.1425, allocations: 0.826 MB / 480.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.67e-05/0.1425, allocations: 7.984 kB / 480.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.1425, allocations: 11.44 kB / 480.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1426, allocations: 0 / 480.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Templates: time 0.004858/0.1474, allocations: 1.445 MB / 482 MB, free: 1.348 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches