Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.001696, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.002543/0.002543, allocations: 194 kB / 18.12 MB, free: 5.383 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.415/1.415, allocations: 222.9 MB / 241.8 MB, free: 13.65 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.2047/0.2047, allocations: 44.19 MB / 336.1 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 71.77 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.145, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003474/0.1485, allocations: 1.692 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009091/0.1495, allocations: 423.2 kB / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.1496, allocations: 0 / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1498, allocations: 51.86 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1501, allocations: 47.77 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.1505, allocations: 123.5 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1506, allocations: 63.83 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1508, allocations: 19.98 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.878e-05/0.1508, allocations: 27.86 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.151, allocations: 39.83 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.151, allocations: 4 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1511, allocations: 47.97 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1513, allocations: 23.92 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.1513, allocations: 31.73 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1515, allocations: 95.77 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1516, allocations: 3.938 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1516, allocations: 0 / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1516, allocations: 0 / 471.2 MB, free: 12.15 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.0006104/0.1522, allocations: 399.5 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1522, allocations: 8.031 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.1523, allocations: 12.78 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1525, allocations: 200.1 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1525, allocations: 8.375 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1526, allocations: 4.375 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1527, allocations: 69.73 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1528, allocations: 0 / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1528, allocations: 0 / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1528, allocations: 0 / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1529, allocations: 43.95 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.1533, allocations: 300.7 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1536, allocations: 54.55 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.1537, allocations: 24.97 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1537, allocations: 0 / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1538, allocations: 38.56 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.1538, allocations: 0 / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001517/0.1553, allocations: 376.9 kB / 472.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.1554, allocations: 59.34 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.1556, allocations: 164.6 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1556, allocations: 33.7 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.1557, allocations: 100.1 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.1557, allocations: 43.38 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1558, allocations: 21.72 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1559, allocations: 322.8 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1561, allocations: 43.97 kB / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1562, allocations: 43.97 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.1564, allocations: 100.8 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1564, allocations: 0 / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002843/0.1567, allocations: 141.4 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1567, allocations: 8 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1567, allocations: 0.5625 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1568, allocations: 0 / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1569, allocations: 27.92 kB / 473.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1569, allocations: 4 kB / 473.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.157, allocations: 19.92 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.157, allocations: 4 kB / 473.8 MB, free: 9.305 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.0001187/0.1571, allocations: 130.3 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.1572, allocations: 15.81 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.1576, allocations: 158.8 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1576, allocations: 3.938 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.1576, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1576, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.1583, allocations: 468 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1583, allocations: 0 / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.1584, allocations: 27.98 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1584, allocations: 0 / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1584, allocations: 4 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1585, allocations: 4.062 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1585, allocations: 7.938 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.1588, allocations: 249 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.1589, allocations: 85.02 kB / 474.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1589, allocations: 8 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.159, allocations: 11.98 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.1591, allocations: 7.984 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1591, allocations: 8 kB / 475 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.1592, allocations: 133.7 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1593, allocations: 3.938 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003151/0.1596, allocations: 27.98 kB / 475.1 MB, free: 7.863 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.001084/0.1607, allocations: 454 kB / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.161, allocations: 107.9 kB / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.161, allocations: 0 / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.1612, allocations: 55.91 kB / 475.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1616, allocations: 27.44 kB / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.1621, allocations: 285.8 kB / 476.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1625, allocations: 0.7082 MB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.492e-05/0.1626, allocations: 28.39 kB / 476.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1627, allocations: 15.44 kB / 476.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1627, allocations: 3.938 kB / 476.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004629/0.1673, allocations: 1.422 MB / 478.2 MB, free: 4.906 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches