Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 105.8 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 205.8 kB / 18.14 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2526/0.2526, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 76.78 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1502, allocations: 62.44 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003899/0.1542, allocations: 1.669 MB / 481 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1554, allocations: 0.5456 MB / 481.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.1556, allocations: 4 kB / 481.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1559, allocations: 71.83 kB / 481.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.1563, allocations: 91.72 kB / 481.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.1566, allocations: 103.8 kB / 481.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.1568, allocations: 79.81 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.157, allocations: 15.98 kB / 481.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.1571, allocations: 31.86 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1572, allocations: 59.81 kB / 482 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1572, allocations: 4 kB / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1574, allocations: 39.98 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.1575, allocations: 23.91 kB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.1575, allocations: 31.69 kB / 482.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1578, allocations: 103.7 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1578, allocations: 0 / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1578, allocations: 0 / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1578, allocations: 0 / 482.2 MB, free: 2.855 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.0007088/0.1585, allocations: 415.2 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1586, allocations: 16.86 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.1586, allocations: 8.844 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1589, allocations: 210.7 kB / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1589, allocations: 384 / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.159, allocations: 8.375 kB / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1592, allocations: 53.75 kB / 482.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1592, allocations: 0 / 482.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1592, allocations: 4 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1592, allocations: 8 kB / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1593, allocations: 27.97 kB / 482.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.1599, allocations: 304.7 kB / 483.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.16, allocations: 46.5 kB / 483.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.1601, allocations: 24.94 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1601, allocations: 0 / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1602, allocations: 30.56 kB / 483.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.1602, allocations: 4 kB / 483.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001087/0.1613, allocations: 245.1 kB / 483.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1613, allocations: 51.41 kB / 483.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1616, allocations: 214.8 kB / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1616, allocations: 29.64 kB / 483.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.1617, allocations: 108.1 kB / 483.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1617, allocations: 27.55 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.1618, allocations: 21.72 kB / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.162, allocations: 326.8 kB / 484.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.1621, allocations: 35.91 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.1622, allocations: 32.05 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1624, allocations: 76.81 kB / 484.4 MB, free: 364 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1624, allocations: 0 / 484.4 MB, free: 364 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002279/0.1626, allocations: 109.5 kB / 484.5 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1626, allocations: 8 kB / 484.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1626, allocations: 0 / 484.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1627, allocations: 0 / 484.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1628, allocations: 23.92 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1628, allocations: 0 / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.1629, allocations: 11.92 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1629, allocations: 4 kB / 484.6 MB, free: 200 kB / 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.0001163/0.163, allocations: 125.8 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.1631, allocations: 15.81 kB / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.1634, allocations: 131 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1634, allocations: 0 / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1634, allocations: 3.984 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1634, allocations: 4.359 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.164, allocations: 427.2 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.164, allocations: 0 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.968e-05/0.1641, allocations: 19.98 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.1641, allocations: 3.938 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1642, allocations: 8 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.1642, allocations: 0 / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1642, allocations: 3.984 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1645, allocations: 216.6 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.1645, allocations: 92.94 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1645, allocations: 7.938 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.1646, allocations: 0 / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.1647, allocations: 7.984 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1647, allocations: 4 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1648, allocations: 172.7 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1648, allocations: 4 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1651, allocations: 20 kB / 485.8 MB, free: 14.84 MB / 366.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.001058/0.1662, allocations: 444.4 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1664, allocations: 75.89 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1664, allocations: 0 / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.1665, allocations: 39.97 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1669, allocations: 19.92 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.1676, allocations: 296.7 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1679, allocations: 0.7199 MB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.947e-05/0.168, allocations: 24.95 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.1681, allocations: 15.38 kB / 487.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1681, allocations: 0 / 487.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.004269/0.1724, allocations: 1.337 MB / 488.8 MB, free: 12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches