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.001612/0.001612, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.00181/0.00181, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.427/1.427, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2168/0.2168, allocations: 44.17 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 59.56 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1157, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003553/0.1193, allocations: 1.608 MB / 471.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.121, allocations: 1.031 MB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.1211, allocations: 4 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.1213, allocations: 27.84 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.1216, allocations: 43.77 kB / 472.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.122, allocations: 126.8 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1222, allocations: 63.78 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1223, allocations: 20.17 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.1224, allocations: 19.92 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.1226, allocations: 35.83 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1226, allocations: 4 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1228, allocations: 51.98 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.1228, allocations: 15.92 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.1229, allocations: 23.86 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1231, allocations: 91.77 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1231, allocations: 0 / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1231, allocations: 7.938 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1231, allocations: 0 / 473.1 MB, free: 11.18 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.0005199/0.1237, allocations: 379.6 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1237, allocations: 12.03 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.1238, allocations: 8.844 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.124, allocations: 192.1 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.124, allocations: 8.375 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.124, allocations: 384 / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.1242, allocations: 83.27 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1242, allocations: 3.938 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1243, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1243, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.1244, allocations: 35.97 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1248, allocations: 284.7 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.125, allocations: 54.5 kB / 474.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.463e-05/0.1251, allocations: 20.94 kB / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1251, allocations: 3.984 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1251, allocations: 34.56 kB / 474.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1251, allocations: 4 kB / 474.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008384/0.126, allocations: 201.3 kB / 474.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.126, allocations: 81.11 kB / 474.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1262, allocations: 140.1 kB / 474.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1262, allocations: 29.7 kB / 474.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.1263, allocations: 92.05 kB / 474.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1263, allocations: 27.64 kB / 474.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.1264, allocations: 17.72 kB / 474.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1265, allocations: 318.8 kB / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1266, allocations: 31.97 kB / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1268, allocations: 49.77 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.127, allocations: 80.89 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.127, allocations: 0 / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002957/0.1273, allocations: 113.6 kB / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1273, allocations: 4 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1274, allocations: 4 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1274, allocations: 0 / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1275, allocations: 15.98 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1275, allocations: 4 kB / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.1276, allocations: 11.92 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1276, allocations: 4 kB / 475.4 MB, free: 8.637 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 8.896e-05/0.1277, allocations: 121.8 kB / 475.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.1278, allocations: 11.84 kB / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.1281, allocations: 117.9 kB / 475.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1281, allocations: 3.984 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1281, allocations: 4 kB / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1281, allocations: 3.938 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.1287, allocations: 390.5 kB / 476 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1287, allocations: 0 / 476 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-05/0.1288, allocations: 19.98 kB / 476.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1288, allocations: 0 / 476.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1288, allocations: 7.938 kB / 476.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1288, allocations: 0 / 476.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1288, allocations: 3.938 kB / 476.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.1292, allocations: 207.4 kB / 476.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.1292, allocations: 81.02 kB / 476.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1292, allocations: 11.86 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1294, allocations: 8 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1294, allocations: 11.98 kB / 476.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.1294, allocations: 4 kB / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.1295, allocations: 103.3 kB / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1295, allocations: 0 / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1298, allocations: 23.98 kB / 476.5 MB, free: 7.418 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.001036/0.1308, allocations: 454.2 kB / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1312, allocations: 79.88 kB / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1312, allocations: 0 / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1313, allocations: 43.97 kB / 477.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1317, allocations: 18.8 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.1321, allocations: 207.8 kB / 477.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1324, allocations: 0.6885 MB / 478 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.1325, allocations: 15.44 kB / 478 MB, free: 6.035 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1325, allocations: 4 kB / 478 MB, free: 6.031 MB / 350.1 MB Notification: Performance of Templates: time 0.003707/0.1362, allocations: 1.713 MB / 479.7 MB, free: 4.324 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/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