Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001196/0.001196, allocations: 187 kB / 19.34 MB, free: 3.641 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.454/1.454, allocations: 222.9 MB / 243 MB, free: 15.14 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.2481/0.2481, allocations: 44.17 MB / 337.4 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 74.56 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1528, allocations: 60.82 MB / 470.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003432/0.1563, allocations: 1.63 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.1571, allocations: 455 kB / 472.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.1572, allocations: 0 / 472.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.1578, allocations: 463.1 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.1582, allocations: 247.4 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1586, allocations: 178.1 kB / 473.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1588, allocations: 171.7 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.159, allocations: 20 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1591, allocations: 115.7 kB / 474 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1593, allocations: 211.6 kB / 474.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1594, allocations: 4 kB / 474.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1595, allocations: 47.97 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1596, allocations: 83.69 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.952e-05/0.1597, allocations: 103 kB / 474.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.16, allocations: 267 kB / 474.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.16, allocations: 4 kB / 474.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.16, allocations: 0 / 474.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.16, allocations: 4 kB / 474.7 MB, free: 9.723 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.0007068/0.1607, allocations: 0.6375 MB / 475.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1608, allocations: 8.031 kB / 475.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.1609, allocations: 44.38 kB / 475.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1612, allocations: 296.1 kB / 475.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1612, allocations: 8.375 kB / 475.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1612, allocations: 4.312 kB / 475.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1614, allocations: 73.73 kB / 475.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1614, allocations: 0 / 475.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1614, allocations: 3.984 kB / 475.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1614, allocations: 0 / 475.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1616, allocations: 35.97 kB / 475.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.1621, allocations: 408.6 kB / 476.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1623, allocations: 46.56 kB / 476.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.1623, allocations: 16.94 kB / 476.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1623, allocations: 4 kB / 476.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1624, allocations: 34.56 kB / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.1624, allocations: 0 / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00091/0.1633, allocations: 315.9 kB / 476.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.1634, allocations: 59.33 kB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.1641, allocations: 0.8535 MB / 477.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1642, allocations: 25.7 kB / 477.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1644, allocations: 232 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.1644, allocations: 19.66 kB / 477.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.1644, allocations: 29.7 kB / 477.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1646, allocations: 354.8 kB / 478.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.1647, allocations: 35.97 kB / 478.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.641e-05/0.1647, allocations: 27.98 kB / 478.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1649, allocations: 72.81 kB / 478.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.1649, allocations: 0 / 478.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002224/0.1651, allocations: 157.3 kB / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1652, allocations: 4 kB / 478.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1652, allocations: 0 / 478.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1652, allocations: 0 / 478.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1653, allocations: 23.92 kB / 478.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1653, allocations: 8 kB / 478.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.1654, allocations: 4 kB / 478.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1654, allocations: 4 kB / 478.5 MB, free: 5.691 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 (8): * Single equations (assignments): 8 * 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.0001807/0.1656, allocations: 217.8 kB / 478.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.1657, allocations: 43.44 kB / 478.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.166, allocations: 177.4 kB / 478.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.166, allocations: 0 / 478.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.166, allocations: 7.875 kB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.166, allocations: 0 / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.1666, allocations: 0.511 MB / 479.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.1666, allocations: 3.938 kB / 479.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/0.1667, allocations: 19.98 kB / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1667, allocations: 0 / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1667, allocations: 0 / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1667, allocations: 4 kB / 479.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1668, allocations: 0 / 479.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.167, allocations: 251.8 kB / 479.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.1671, allocations: 116.5 kB / 479.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1672, allocations: 432 / 479.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.1673, allocations: 4 kB / 479.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.1673, allocations: 7.984 kB / 479.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.1673, allocations: 8 kB / 479.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005638/0.1679, allocations: 0.6511 MB / 480.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1679, allocations: 0 / 480.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1682, allocations: 27.98 kB / 480.5 MB, free: 3.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001151/0.1693, allocations: 471.4 kB / 480.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.1696, allocations: 75.89 kB / 481 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1696, allocations: 0 / 481 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.266e-05/0.1697, allocations: 44.06 kB / 481.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.1701, allocations: 32.86 kB / 481.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1712, allocations: 0.8314 MB / 481.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.1716, allocations: 0.826 MB / 482.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.844e-05/0.1717, allocations: 20.41 kB / 482.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1717, allocations: 23.38 kB / 482.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1717, allocations: 0 / 482.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of Templates: time 0.005143/0.1769, allocations: 1.725 MB / 484.5 MB, free: 15.63 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches