Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008619/0.0008619, allocations: 93.38 kB / 17.35 MB, free: 6.344 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.0008073/0.0008074, allocations: 172 kB / 18.25 MB, free: 5.504 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.537/1.537, 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.2266/0.2266, allocations: 44.25 MB / 337.7 MB, free: 2.5 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1381, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002255/0.1404, allocations: 1.348 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009002/0.1413, allocations: 439.2 kB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.1414, allocations: 0 / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1416, allocations: 59.86 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1418, allocations: 47.81 kB / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.1422, allocations: 162.2 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1424, allocations: 71.77 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1425, allocations: 27.98 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.1426, allocations: 23.91 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1427, allocations: 43.78 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1427, allocations: 0 / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1429, allocations: 51.95 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.1429, allocations: 23.92 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.628e-05/0.143, allocations: 53.45 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1432, allocations: 104 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1432, allocations: 0 / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1432, allocations: 0 / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1432, allocations: 4 kB / 474.7 MB, free: 10.86 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.0005559/0.1438, allocations: 395.1 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1438, allocations: 12.03 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.1439, allocations: 8.844 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1441, allocations: 196.1 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1441, allocations: 8.375 kB / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.1441, allocations: 8.312 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1443, allocations: 73.78 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1444, allocations: 0 / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1444, allocations: 8 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1444, allocations: 0 / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1446, allocations: 43.97 kB / 475.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.145, allocations: 336.6 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1453, allocations: 62.55 kB / 475.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.337e-05/0.1454, allocations: 28.97 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1454, allocations: 0 / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1455, allocations: 38.59 kB / 475.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1455, allocations: 0 / 475.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00165/0.1471, allocations: 493.2 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.1472, allocations: 67.27 kB / 476.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1474, allocations: 196.3 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1474, allocations: 25.7 kB / 476.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.1475, allocations: 108.1 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.1476, allocations: 39.45 kB / 476.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1476, allocations: 13.72 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1477, allocations: 322.8 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.1479, allocations: 63.95 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1481, allocations: 59.97 kB / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.1484, allocations: 144.7 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1484, allocations: 0 / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003852/0.1488, allocations: 181.5 kB / 477.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1488, allocations: 8 kB / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1488, allocations: 0 / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1488, allocations: 0 / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.149, allocations: 31.92 kB / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.149, allocations: 4 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.1491, allocations: 15.98 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1491, allocations: 4 kB / 477.6 MB, free: 7.703 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.0001083/0.1492, allocations: 134.3 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.1492, allocations: 11.81 kB / 477.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.1497, allocations: 198.3 kB / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1497, allocations: 11.86 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1497, allocations: 0 / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1497, allocations: 4 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.1505, allocations: 0.5117 MB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1505, allocations: 4 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1506, allocations: 31.92 kB / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1506, allocations: 0 / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1507, allocations: 0 / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.1507, allocations: 4 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1507, allocations: 3.984 kB / 478.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.1511, allocations: 293 kB / 478.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.1512, allocations: 89.02 kB / 478.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1512, allocations: 8.266 kB / 478.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1513, allocations: 15.94 kB / 478.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.1514, allocations: 19.86 kB / 478.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1514, allocations: 4 kB / 479 MB, free: 6.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1515, allocations: 150.9 kB / 479.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1515, allocations: 0 / 479.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1518, allocations: 28 kB / 479.1 MB, free: 6.086 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.001101/0.1529, allocations: 457 kB / 479.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.1533, allocations: 143.8 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1533, allocations: 3.938 kB / 479.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.1535, allocations: 79.89 kB / 479.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1539, allocations: 27.86 kB / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.1545, allocations: 331.8 kB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1548, allocations: 0.7199 MB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1549, allocations: 28.39 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.155, allocations: 19.44 kB / 480.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.155, allocations: 0 / 480.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of Templates: time 0.004391/0.1594, allocations: 1.495 MB / 482.4 MB, free: 2.934 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches