Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009106, allocations: 93.33 kB / 17.35 MB, free: 6.371 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.0008251/0.0008253, allocations: 179.4 kB / 18.26 MB, free: 5.52 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.411/1.411, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.25 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1215, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002425/0.1239, allocations: 1.333 MB / 473.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1262, allocations: 1.004 MB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1263, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.1267, allocations: 27.91 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.1271, allocations: 31.91 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.1277, allocations: 115.7 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.1279, allocations: 55.78 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1281, allocations: 20.17 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.1282, allocations: 19.92 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1284, allocations: 23.86 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.1285, allocations: 7.938 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.1287, allocations: 51.95 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.1288, allocations: 15.92 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.1289, allocations: 45.58 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1292, allocations: 87.75 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.1292, allocations: 0 / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1292, allocations: 0 / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1292, allocations: 7.938 kB / 475.1 MB, free: 10.48 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.0008313/0.13, allocations: 377.8 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.418e-05/0.1301, allocations: 12.03 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.1302, allocations: 8.875 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.1305, allocations: 194.3 kB / 475.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1306, allocations: 8.375 kB / 475.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.1306, allocations: 384 / 475.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.1309, allocations: 87.31 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1309, allocations: 0 / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.131, allocations: 3.984 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.131, allocations: 0 / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.1312, allocations: 43.97 kB / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.1318, allocations: 288.8 kB / 476.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1319, allocations: 46.56 kB / 476.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.1321, allocations: 32.94 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.1321, allocations: 0 / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.1322, allocations: 34.56 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1322, allocations: 0 / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009339/0.1331, allocations: 241.2 kB / 476.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.1332, allocations: 81.05 kB / 476.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1334, allocations: 137.8 kB / 476.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.1334, allocations: 29.7 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.1335, allocations: 92.2 kB / 476.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1335, allocations: 27.64 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1336, allocations: 13.72 kB / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1338, allocations: 322.8 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1339, allocations: 43.97 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.134, allocations: 53.69 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1342, allocations: 93.06 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1342, allocations: 0 / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002802/0.1345, allocations: 129.5 kB / 477.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1346, allocations: 8 kB / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1346, allocations: 0 / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1346, allocations: 0 / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1347, allocations: 19.98 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1347, allocations: 4 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.1348, allocations: 23.92 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1348, allocations: 0 / 477.5 MB, free: 7.836 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 (7): * Single equations (assignments): 7 * 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.0001119/0.1349, allocations: 118.4 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.135, allocations: 15.83 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.1354, allocations: 141.9 kB / 477.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1354, allocations: 4 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1354, allocations: 3.938 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1354, allocations: 3.938 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.1361, allocations: 398.5 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1361, allocations: 0 / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1362, allocations: 31.92 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1362, allocations: 0 / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1362, allocations: 3.938 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1362, allocations: 4 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1362, allocations: 0 / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1366, allocations: 219.4 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.1367, allocations: 85 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1367, allocations: 11.94 kB / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.1369, allocations: 11.98 kB / 478.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.1369, allocations: 11.98 kB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1369, allocations: 0 / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.137, allocations: 105.5 kB / 478.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.137, allocations: 0 / 478.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.1374, allocations: 24 kB / 478.7 MB, free: 6.562 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 (7): * Single equations (assignments): 7 * 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.001045/0.1384, allocations: 452.3 kB / 479.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.1387, allocations: 91.94 kB / 479.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.1388, allocations: 4 kB / 479.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.1389, allocations: 47.91 kB / 479.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1392, allocations: 15.98 kB / 479.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.1397, allocations: 209.2 kB / 479.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.14, allocations: 0.6965 MB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.223e-05/0.1401, allocations: 12.27 kB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.1402, allocations: 19.42 kB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1402, allocations: 0 / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of Templates: time 0.004624/0.1448, allocations: 1.404 MB / 481.6 MB, free: 3.746 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches