Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009464/0.0009465, allocations: 92.78 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.001415/0.001415, allocations: 176.6 kB / 18.25 MB, free: 5.523 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.442/1.442, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2039/0.2039, allocations: 44.25 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003215, allocations: 12 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.001986/0.1246, allocations: 1.357 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.1254, allocations: 411.3 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.1255, allocations: 0 / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.1257, allocations: 43.88 kB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.1258, allocations: 43.83 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.1262, allocations: 125.7 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1264, allocations: 67.81 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1266, allocations: 12 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.1266, allocations: 27.86 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1268, allocations: 39.83 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1268, allocations: 4 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.127, allocations: 43.98 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.1271, allocations: 19.91 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.1271, allocations: 57.44 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.1273, allocations: 87.77 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1273, allocations: 3.938 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1273, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1273, allocations: 0 / 474.6 MB, free: 10.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005615/0.1279, allocations: 399.5 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.128, allocations: 8.031 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.128, allocations: 16.69 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1282, allocations: 194.6 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1282, allocations: 4.375 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.1283, allocations: 4.375 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1285, allocations: 69.73 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1285, allocations: 0 / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1285, allocations: 4 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1285, allocations: 4 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1287, allocations: 47.95 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1291, allocations: 304.7 kB / 475.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.1293, allocations: 58.55 kB / 475.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.1294, allocations: 32.97 kB / 475.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1295, allocations: 4 kB / 475.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1295, allocations: 30.56 kB / 475.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1295, allocations: 0 / 475.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001558/0.1311, allocations: 464.9 kB / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1311, allocations: 55.34 kB / 476.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1313, allocations: 161.8 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1313, allocations: 33.7 kB / 476.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.1314, allocations: 100 kB / 476.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1315, allocations: 31.55 kB / 476.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1315, allocations: 13.72 kB / 476.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1316, allocations: 326.8 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1318, allocations: 55.91 kB / 476.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1319, allocations: 51.97 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.1322, allocations: 108.8 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1322, allocations: 4 kB / 477.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003392/0.1325, allocations: 165.3 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1326, allocations: 4 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1326, allocations: 4 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1326, allocations: 0 / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1327, allocations: 35.86 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.1327, allocations: 4 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.1328, allocations: 19.92 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.1328, allocations: 4 kB / 477.3 MB, free: 7.996 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 (11): * Single equations (assignments): 11 * 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.0001063/0.1329, allocations: 126.4 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.133, allocations: 7.906 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.1334, allocations: 178.3 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1334, allocations: 7.938 kB / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1334, allocations: 0 / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1334, allocations: 4.547 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.1341, allocations: 487.9 kB / 478.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1341, allocations: 7.969 kB / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1342, allocations: 36.05 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1342, allocations: 0 / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1343, allocations: 4 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1343, allocations: 0 / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1343, allocations: 0 / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.1347, allocations: 269.5 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.1347, allocations: 85.02 kB / 478.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1347, allocations: 8 kB / 478.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.1348, allocations: 15.98 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.1349, allocations: 7.984 kB / 478.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1349, allocations: 8 kB / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.378e-05/0.135, allocations: 130.2 kB / 478.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.135, allocations: 0 / 478.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1353, allocations: 27.98 kB / 478.7 MB, free: 6.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001028/0.1364, allocations: 453.9 kB / 479.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1367, allocations: 127.8 kB / 479.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1367, allocations: 0 / 479.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1369, allocations: 68.03 kB / 479.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1373, allocations: 23.92 kB / 479.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.1378, allocations: 295.1 kB / 479.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1381, allocations: 0.7043 MB / 480.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.1382, allocations: 16.42 kB / 480.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.1382, allocations: 19.44 kB / 480.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1382, allocations: 0 / 480.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of Templates: time 0.004242/0.1425, allocations: 1.41 MB / 481.8 MB, free: 3.527 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches