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.0009601/0.0009596, allocations: 94.55 kB / 17 MB, free: 6.418 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.001027/0.001027, allocations: 189.9 kB / 17.89 MB, free: 5.945 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.464/1.464, allocations: 223.3 MB / 241.9 MB, free: 340 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.2196/0.2196, allocations: 44.24 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 8 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 61.94 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.00245/0.1379, allocations: 1.31 MB / 472.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1396, allocations: 0.961 MB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.1397, allocations: 4 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.1399, allocations: 19.92 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.1402, allocations: 39.78 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1405, allocations: 110.8 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1407, allocations: 51.83 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1408, allocations: 12.19 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.1409, allocations: 23.86 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1411, allocations: 23.91 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1411, allocations: 4 kB / 474.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1412, allocations: 39.92 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.1413, allocations: 11.98 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.1414, allocations: 41.58 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1415, allocations: 71.88 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1415, allocations: 4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1416, allocations: 0 / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1416, allocations: 0 / 474.3 MB, free: 10.97 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.0006351/0.1422, allocations: 379.4 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1423, allocations: 8.562 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.1423, allocations: 4 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1426, allocations: 186.9 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1426, allocations: 4 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1426, allocations: 4 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.1429, allocations: 83.27 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1429, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1429, allocations: 7.984 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1429, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1431, allocations: 43.97 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.1436, allocations: 292.6 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1437, allocations: 46.56 kB / 475.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.1438, allocations: 24.94 kB / 475.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.1438, allocations: 4 kB / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1439, allocations: 30.56 kB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1439, allocations: 0 / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008583/0.1447, allocations: 237.2 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.1448, allocations: 81.11 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.145, allocations: 137 kB / 475.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.145, allocations: 25.7 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.1451, allocations: 100 kB / 476 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.1451, allocations: 23.7 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.1452, allocations: 8 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1453, allocations: 314.8 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1454, allocations: 43.97 kB / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1456, allocations: 61.62 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1457, allocations: 44 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1457, allocations: 3.938 kB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002576/0.146, allocations: 129.8 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.146, allocations: 4 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.146, allocations: 0 / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.146, allocations: 0 / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1461, allocations: 23.98 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1462, allocations: 4.062 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.1462, allocations: 15.98 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1462, allocations: 4 kB / 476.7 MB, free: 8.402 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.1464, allocations: 121.7 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.1464, allocations: 7.906 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.1467, allocations: 142 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1467, allocations: 0 / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1468, allocations: 0 / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1468, allocations: 3.984 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.1473, allocations: 406.4 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1473, allocations: 0 / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/0.1474, allocations: 19.98 kB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1474, allocations: 11.94 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1474, allocations: 0 / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1474, allocations: 4 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1474, allocations: 0 / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.1478, allocations: 231.3 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1478, allocations: 93 kB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1479, allocations: 0 / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.1479, allocations: 11.98 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.148, allocations: 4 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.148, allocations: 8 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1481, allocations: 103.2 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1482, allocations: 0 / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1484, allocations: 28 kB / 477.8 MB, free: 7.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.1496, allocations: 451.2 kB / 478.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1499, allocations: 107.8 kB / 478.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1499, allocations: 0 / 478.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.15, allocations: 43.97 kB / 478.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1504, allocations: 23.94 kB / 478.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.1508, allocations: 193.3 kB / 478.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1512, allocations: 0.6887 MB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.937e-05/0.1512, allocations: 19.94 kB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.1513, allocations: 15.38 kB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1513, allocations: 0 / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of Templates: time 0.004312/0.1556, allocations: 1.377 MB / 480.7 MB, free: 4.348 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