Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001756/0.001757, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.402/1.402, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2167/0.2167, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 66.17 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1182, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003223/0.1215, allocations: 1.607 MB / 471.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008258/0.1224, allocations: 0.688 MB / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.1224, allocations: 0 / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.1227, allocations: 31.84 kB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.1229, allocations: 39.83 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.372e-06/0.1229, allocations: 4 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.123, allocations: 35.83 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1231, allocations: 4 kB / 472.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.1231, allocations: 7.938 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.356e-05/0.1232, allocations: 15.92 kB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1232, allocations: 0 / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.051e-05/0.1233, allocations: 11.98 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.1233, allocations: 16 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1234, allocations: 23.81 kB / 472.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1235, allocations: 60.02 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1235, allocations: 4 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1235, allocations: 0 / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.1235, allocations: 0 / 472.5 MB, free: 11.8 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.0003536/0.1239, allocations: 367.3 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1239, allocations: 8.031 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.124, allocations: 8.844 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1241, allocations: 176.2 kB / 473 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1241, allocations: 8.375 kB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1241, allocations: 384 / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1243, allocations: 115.3 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1243, allocations: 4.188 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1243, allocations: 11.92 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.1244, allocations: 27.97 kB / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.1245, allocations: 47.84 kB / 473.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.125, allocations: 0.8867 MB / 474.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/0.1251, allocations: 169.1 kB / 474.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.1252, allocations: 80.14 kB / 474.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1252, allocations: 79.22 kB / 474.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.1252, allocations: 109.8 kB / 474.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1252, allocations: 0 / 474.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.683e-05/0.1253, allocations: 41.64 kB / 474.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1254, allocations: 130.7 kB / 474.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1256, allocations: 182.1 kB / 474.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1256, allocations: 29.69 kB / 474.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.1257, allocations: 147.1 kB / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.1257, allocations: 8 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.1257, allocations: 41.61 kB / 475.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1258, allocations: 326.8 kB / 475.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.1259, allocations: 35.98 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.126, allocations: 157.1 kB / 475.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1262, allocations: 200.9 kB / 475.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1262, allocations: 11.94 kB / 475.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002972/0.1265, allocations: 197.6 kB / 476 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1265, allocations: 12.09 kB / 476 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1265, allocations: 4 kB / 476 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1266, allocations: 4 kB / 476 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1267, allocations: 39.92 kB / 476.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1267, allocations: 8 kB / 476.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.1268, allocations: 23.69 kB / 476.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1268, allocations: 12 kB / 476.1 MB, free: 7.762 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.0001146/0.1269, allocations: 217.9 kB / 476.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.127, allocations: 120.8 kB / 476.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.1271, allocations: 112.8 kB / 476.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.979e-05/0.1271, allocations: 180.3 kB / 476.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.356e-05/0.1272, allocations: 184.2 kB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.359e-05/0.1272, allocations: 180.2 kB / 477.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1275, allocations: 425.2 kB / 477.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/0.1275, allocations: 104.9 kB / 477.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.1275, allocations: 105 kB / 477.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-05/0.1276, allocations: 180.2 kB / 477.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.1277, allocations: 180.3 kB / 478.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.532e-05/0.1277, allocations: 188.2 kB / 478.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.329e-05/0.1278, allocations: 180.3 kB / 478.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.1279, allocations: 311.7 kB / 478.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.128, allocations: 193.9 kB / 478.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.1281, allocations: 180.2 kB / 479.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.1282, allocations: 105 kB / 479.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.1282, allocations: 184.2 kB / 479.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.1283, allocations: 105 kB / 479.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.1284, allocations: 131.2 kB / 479.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1284, allocations: 0 / 479.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1287, allocations: 12 kB / 479.6 MB, free: 4.035 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.0004942/0.1292, allocations: 278.6 kB / 479.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.1293, allocations: 79.78 kB / 480 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1293, allocations: 0 / 480 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.1294, allocations: 0 / 480 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1297, allocations: 468.9 kB / 480.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.1301, allocations: 282.7 kB / 480.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1304, allocations: 0.6928 MB / 481.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.1305, allocations: 23.42 kB / 481.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1305, allocations: 4 kB / 481.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Templates: time 0.002727/0.1332, allocations: 1.274 MB / 482.7 MB, free: 0.9414 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches