Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.00158/0.00158, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.465/1.465, allocations: 223.3 MB / 242.3 MB, free: 14.5 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.2022/0.2022, allocations: 44.24 MB / 337.7 MB, free: 2.523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 13.12 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002463/0.1543, allocations: 1.413 MB / 473.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.1567, allocations: 1.429 MB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1568, allocations: 7.938 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.1572, allocations: 31.89 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.1575, allocations: 47.78 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.158, allocations: 95.77 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.1582, allocations: 99.67 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1584, allocations: 8.234 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1585, allocations: 35.8 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1587, allocations: 35.83 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1587, allocations: 7.938 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.1589, allocations: 51.98 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.159, allocations: 19.91 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.1591, allocations: 53.5 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1593, allocations: 116 kB / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1593, allocations: 0 / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.1594, allocations: 0 / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1594, allocations: 7.938 kB / 475.7 MB, free: 9.863 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007354/0.1601, allocations: 383.3 kB / 476.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.1602, allocations: 8.031 kB / 476.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.1602, allocations: 16.73 kB / 476.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1606, allocations: 210.4 kB / 476.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1606, allocations: 384 / 476.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1606, allocations: 4.125 kB / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.1608, allocations: 75.39 kB / 476.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1609, allocations: 0 / 476.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1609, allocations: 0 / 476.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1609, allocations: 4 kB / 476.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.161, allocations: 23.92 kB / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.1615, allocations: 284.8 kB / 476.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1617, allocations: 62.67 kB / 476.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1618, allocations: 20.84 kB / 476.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1618, allocations: 0 / 476.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.162, allocations: 71.33 kB / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.162, allocations: 3.938 kB / 476.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005668/0.1626, allocations: 181.2 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.1627, allocations: 77.11 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1628, allocations: 145.8 kB / 477.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1628, allocations: 25.7 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.1629, allocations: 100.1 kB / 477.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.1629, allocations: 19.72 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.163, allocations: 17.7 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1631, allocations: 322.8 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.1632, allocations: 24 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.1632, allocations: 46.5 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1634, allocations: 65.62 kB / 477.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1634, allocations: 0 / 477.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.1636, allocations: 89.59 kB / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1636, allocations: 8 kB / 478 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1636, allocations: 8.047 kB / 478 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1636, allocations: 0 / 478 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.1637, allocations: 15.94 kB / 478 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1638, allocations: 4 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.19e-05/0.1638, allocations: 11.88 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1638, allocations: 4 kB / 478 MB, free: 7.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001178/0.1639, allocations: 121.8 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.164, allocations: 7.906 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.164, allocations: 12.72 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.164, allocations: 4 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.164, allocations: 0 / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1641, allocations: 7.922 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.1645, allocations: 391.2 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1645, allocations: 384 / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1646, allocations: 11.94 kB / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1646, allocations: 0 / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1646, allocations: 15.92 kB / 478.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1646, allocations: 4.031 kB / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1646, allocations: 0 / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1648, allocations: 196.3 kB / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.1649, allocations: 85.02 kB / 478.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.1649, allocations: 15.86 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.165, allocations: 4 kB / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.1651, allocations: 11.98 kB / 478.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1651, allocations: 7.984 kB / 478.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.781e-05/0.1652, allocations: 113.8 kB / 479 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 479 MB, free: 6.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1655, allocations: 35.98 kB / 479 MB, free: 6.195 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001283/0.1668, allocations: 0.4941 MB / 479.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.167, allocations: 55.97 kB / 479.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.167, allocations: 4.062 kB / 479.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.1671, allocations: 35.86 kB / 479.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1675, allocations: 30.69 kB / 479.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.168, allocations: 210 kB / 479.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1683, allocations: 0.6965 MB / 480.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.32e-05/0.1683, allocations: 25.11 kB / 480.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.1684, allocations: 23.36 kB / 480.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1684, allocations: 0 / 480.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of Templates: time 0.004942/0.1733, allocations: 1.871 MB / 482.5 MB, free: 2.898 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches