Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009321/0.0009323, allocations: 98.11 kB / 16.99 MB, free: 6.402 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.0009047/0.0009048, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.394/1.394, allocations: 223.2 MB / 241.8 MB, free: 14.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.2268/0.2268, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005166, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1602, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001956/0.1623, allocations: 1.275 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006305/0.1629, allocations: 375.6 kB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.163, allocations: 0 / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.1633, allocations: 83.73 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1634, allocations: 63.84 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1638, allocations: 99.75 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1639, allocations: 47.88 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.164, allocations: 8.188 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.1641, allocations: 35.89 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.313e-05/0.1642, allocations: 31.91 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1643, allocations: 0 / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.595e-05/0.1643, allocations: 43.84 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.1644, allocations: 15.98 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.1644, allocations: 37.64 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1646, allocations: 71.89 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1646, allocations: 0 / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.959e-06/0.1646, allocations: 0 / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1646, allocations: 3.938 kB / 473.6 MB, free: 11.54 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.0004656/0.1651, allocations: 403.2 kB / 474 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1651, allocations: 8.562 kB / 474 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.1652, allocations: 19.81 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1654, allocations: 195.5 kB / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1654, allocations: 0 / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1654, allocations: 8 kB / 474.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1656, allocations: 53.64 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1656, allocations: 0 / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1656, allocations: 4 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1656, allocations: 3.984 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1657, allocations: 35.92 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.1661, allocations: 308.7 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1663, allocations: 50.5 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1663, allocations: 4 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1663, allocations: 34.56 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1663, allocations: 0 / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008988/0.1672, allocations: 261.2 kB / 475 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1673, allocations: 55.41 kB / 475 MB, free: 9.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1675, allocations: 235.2 kB / 475.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1675, allocations: 25.7 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.1676, allocations: 112 kB / 475.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1676, allocations: 19.72 kB / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.1676, allocations: 0 / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1677, allocations: 326.8 kB / 475.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.1678, allocations: 44.03 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.1679, allocations: 31.98 kB / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.518e-05/0.168, allocations: 39.97 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.168, allocations: 0 / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002513/0.1682, allocations: 129.6 kB / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1683, allocations: 8 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1683, allocations: 0 / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1683, allocations: 0 / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.1684, allocations: 19.98 kB / 476 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1684, allocations: 0 / 476 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.1685, allocations: 7.938 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1685, allocations: 8 kB / 476 MB, free: 8.922 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.1686, allocations: 137.7 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.1686, allocations: 7.906 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.1689, allocations: 142.9 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1689, allocations: 4 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1689, allocations: 0 / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.169, allocations: 0 / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.1695, allocations: 435.2 kB / 476.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1695, allocations: 4.031 kB / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.1696, allocations: 16 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1696, allocations: 0 / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1696, allocations: 7.984 kB / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1696, allocations: 4 kB / 476.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1696, allocations: 3.938 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.1699, allocations: 233.9 kB / 477 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.17, allocations: 92.91 kB / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.17, allocations: 4 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1701, allocations: 8 kB / 477.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.1701, allocations: 11.94 kB / 477.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1701, allocations: 4 kB / 477.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1703, allocations: 167.2 kB / 477.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1703, allocations: 0 / 477.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1705, allocations: 27.98 kB / 477.3 MB, free: 7.523 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 (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.0009576/0.1715, allocations: 453.8 kB / 477.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1718, allocations: 83.92 kB / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1718, allocations: 0 / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/0.1719, allocations: 47.92 kB / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.1721, allocations: 15.98 kB / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.1727, allocations: 286.2 kB / 478.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.173, allocations: 0.7121 MB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.981e-05/0.1731, allocations: 16.66 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.1731, allocations: 27.42 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1731, allocations: 0 / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of Templates: time 0.003829/0.177, allocations: 1.275 MB / 480.2 MB, free: 4.758 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches