Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 95.69 kB / 16.99 MB, free: 5.941 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.001677/0.001678, allocations: 181.5 kB / 17.87 MB, free: 5.609 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.448/1.448, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.239/0.239, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004927, allocations: 10.03 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.15, allocations: 61.93 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002093/0.1521, allocations: 1.27 MB / 472.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007277/0.1529, allocations: 375.5 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.153, allocations: 4 kB / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1533, allocations: 75.77 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1535, allocations: 51.88 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.1539, allocations: 91.75 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1541, allocations: 43.94 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1543, allocations: 24.11 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.1543, allocations: 27.91 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1545, allocations: 35.89 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1545, allocations: 0 / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.774e-05/0.1546, allocations: 35.86 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.1547, allocations: 15.98 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.1547, allocations: 37.64 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1549, allocations: 71.89 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1549, allocations: 0 / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1549, allocations: 0 / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1549, allocations: 4 kB / 473.6 MB, free: 11.59 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.0005604/0.1555, allocations: 399.2 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1555, allocations: 8.562 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.1556, allocations: 11.91 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1558, allocations: 190.8 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1559, allocations: 7.938 kB / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1559, allocations: 0 / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1561, allocations: 65.62 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1561, allocations: 3.906 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1561, allocations: 0 / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1561, allocations: 0 / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.1562, allocations: 31.92 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.1567, allocations: 308.8 kB / 474.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1568, allocations: 42.56 kB / 474.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1569, allocations: 0 / 474.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1569, allocations: 42.5 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1569, allocations: 4 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009739/0.1579, allocations: 261.1 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.158, allocations: 51.41 kB / 475 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1582, allocations: 210.2 kB / 475.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1582, allocations: 25.7 kB / 475.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.1583, allocations: 104 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1583, allocations: 31.64 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.1583, allocations: 4 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1584, allocations: 326.8 kB / 475.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.1585, allocations: 31.98 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.1586, allocations: 32.05 kB / 475.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.1587, allocations: 48.19 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1587, allocations: 4 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002401/0.159, allocations: 117.8 kB / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.159, allocations: 4 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.159, allocations: 0 / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.159, allocations: 8 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1591, allocations: 15.98 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1592, allocations: 4 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.1592, allocations: 11.94 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1592, allocations: 0 / 476 MB, free: 9.02 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 9.682e-05/0.1593, allocations: 129.8 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.1594, allocations: 11.89 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.1597, allocations: 146.3 kB / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1597, allocations: 0 / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1597, allocations: 0 / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1597, allocations: 0 / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.1603, allocations: 435.2 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1603, allocations: 0 / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.1604, allocations: 16 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.1604, allocations: 3.984 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.1604, allocations: 3.938 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1604, allocations: 8.031 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1604, allocations: 0 / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.1608, allocations: 241.9 kB / 476.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.1608, allocations: 88.91 kB / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1609, allocations: 4 kB / 477 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.1609, allocations: 4 kB / 477 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.161, allocations: 15.94 kB / 477 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.161, allocations: 4 kB / 477 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1611, allocations: 151.2 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1611, allocations: 4 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1614, allocations: 12 kB / 477.2 MB, free: 7.648 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.001049/0.1625, allocations: 467.9 kB / 477.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1627, allocations: 87.88 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1627, allocations: 0 / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1628, allocations: 43.91 kB / 477.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1631, allocations: 23.22 kB / 477.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.1636, allocations: 266.5 kB / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1639, allocations: 0.716 MB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.088e-05/0.164, allocations: 16.66 kB / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.1641, allocations: 19.42 kB / 478.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1641, allocations: 0 / 478.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of Templates: time 0.004681/0.1688, allocations: 1.265 MB / 480.1 MB, free: 4.883 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches