Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009974/0.0009974, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 206.4 kB / 18.58 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 83.16 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1495, allocations: 62.45 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003626/0.1532, allocations: 1.588 MB / 481.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1542, allocations: 0.565 MB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.1543, allocations: 4 kB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.1545, allocations: 23.78 kB / 482.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1548, allocations: 79.67 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1551, allocations: 111.2 kB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1553, allocations: 67.83 kB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1554, allocations: 16 kB / 482.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.1555, allocations: 31.84 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.1556, allocations: 27.86 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1556, allocations: 4 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.1558, allocations: 107.9 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.1558, allocations: 11.94 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.1559, allocations: 27.84 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1561, allocations: 147.6 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1562, allocations: 0 / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1562, allocations: 0 / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1562, allocations: 0 / 482.8 MB, free: 2.469 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005254/0.1567, allocations: 399.4 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1568, allocations: 12.03 kB / 483.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.1568, allocations: 12.78 kB / 483.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1571, allocations: 192.2 kB / 483.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1571, allocations: 384 / 483.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1571, allocations: 8.312 kB / 483.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1573, allocations: 75.45 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1573, allocations: 0 / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1573, allocations: 0 / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1573, allocations: 4 kB / 483.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.1574, allocations: 23.97 kB / 483.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.1579, allocations: 288.9 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.158, allocations: 58.48 kB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/0.1581, allocations: 24.94 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1582, allocations: 0 / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1582, allocations: 34.56 kB / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1582, allocations: 0 / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006643/0.1589, allocations: 185.2 kB / 484.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.1589, allocations: 81.11 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1591, allocations: 147.9 kB / 484.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1591, allocations: 29.7 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.1592, allocations: 96.12 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1592, allocations: 19.66 kB / 484.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.1593, allocations: 25.7 kB / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1594, allocations: 326.8 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.1595, allocations: 27.98 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.1596, allocations: 45.77 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1598, allocations: 76.89 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1598, allocations: 0 / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000231/0.16, allocations: 113.6 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.16, allocations: 4 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.16, allocations: 0 / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1601, allocations: 0 / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1602, allocations: 19.98 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1602, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.1602, allocations: 11.98 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1603, allocations: 7.875 kB / 485.1 MB, free: 15.93 MB / 366.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 8.892e-05/0.1604, allocations: 117.8 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.1604, allocations: 8.188 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.1607, allocations: 114.4 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1607, allocations: 3.984 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1607, allocations: 3.938 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1607, allocations: 0 / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.1612, allocations: 406.3 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1612, allocations: 3.938 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.1612, allocations: 15.98 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1613, allocations: 4 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1613, allocations: 7.875 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1613, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1613, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1615, allocations: 195.4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.1616, allocations: 81.09 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1616, allocations: 7.938 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.1617, allocations: 4 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1618, allocations: 7.984 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1618, allocations: 4 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.1619, allocations: 115.2 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1619, allocations: 4 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1622, allocations: 43.98 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001188/0.1634, allocations: 0.4945 MB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.1637, allocations: 67.95 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1637, allocations: 0 / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.1638, allocations: 39.91 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1641, allocations: 19.98 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.1646, allocations: 189.8 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1649, allocations: 0.7041 MB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.713e-05/0.165, allocations: 20.95 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.165, allocations: 19.42 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.165, allocations: 0 / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of Templates: time 0.004909/0.1699, allocations: 1.947 MB / 489.7 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches