Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008114/0.0008114, allocations: 93.27 kB / 17 MB, free: 6.398 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.0007892/0.0007893, allocations: 176.8 kB / 17.89 MB, free: 5.945 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.54/1.54, allocations: 223.3 MB / 241.9 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2467/0.2467, allocations: 44.24 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 15.98 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.154, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002764/0.1569, allocations: 1.39 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1586, allocations: 0.7959 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1588, allocations: 0 / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1592, allocations: 39.84 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.1595, allocations: 43.83 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1599, allocations: 91.33 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.1601, allocations: 79.7 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1602, allocations: 12.22 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1604, allocations: 39.78 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.1604, allocations: 23.86 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1605, allocations: 8 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1606, allocations: 31.98 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.1607, allocations: 19.91 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.1607, allocations: 37.64 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1609, allocations: 76.11 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.1609, allocations: 7.938 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1609, allocations: 4 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.161, allocations: 0 / 474.3 MB, free: 10.96 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.0006734/0.1616, allocations: 393.2 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.1617, allocations: 12.03 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.1618, allocations: 7.906 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1621, allocations: 198.9 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1621, allocations: 4 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1621, allocations: 0 / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1623, allocations: 65.55 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1623, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1623, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1623, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/0.1624, allocations: 23.98 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1629, allocations: 292.8 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1631, allocations: 62.61 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.1631, allocations: 16.86 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1632, allocations: 7.984 kB / 475.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.1634, allocations: 67.39 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.1634, allocations: 0 / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000592/0.164, allocations: 165.3 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.661e-05/0.1641, allocations: 55.39 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1643, allocations: 173.9 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1643, allocations: 29.7 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1645, allocations: 108 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1645, allocations: 19.75 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.1645, allocations: 0 / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1646, allocations: 326.8 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.1647, allocations: 19.98 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.1648, allocations: 41.64 kB / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.134e-05/0.1649, allocations: 28 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1649, allocations: 4 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.165, allocations: 97.5 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1651, allocations: 7.984 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1651, allocations: 7.938 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1651, allocations: 0 / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.1652, allocations: 12.19 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1652, allocations: 0 / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.1653, allocations: 7.938 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1653, allocations: 7.984 kB / 476.5 MB, free: 8.523 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.1655, allocations: 130.4 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.1655, allocations: 7.906 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.1656, allocations: 16.7 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1656, allocations: 0 / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1656, allocations: 4 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1656, allocations: 0 / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.1661, allocations: 387.3 kB / 477.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1661, allocations: 4.031 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.1661, allocations: 15.94 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1662, allocations: 0 / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1662, allocations: 4 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1662, allocations: 4.359 kB / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1662, allocations: 0 / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1664, allocations: 204.1 kB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1665, allocations: 93.02 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.1665, allocations: 4 kB / 477.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.1666, allocations: 7.984 kB / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1666, allocations: 8 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1667, allocations: 0 / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1668, allocations: 135.1 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1668, allocations: 3.938 kB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1671, allocations: 24 kB / 477.6 MB, free: 7.383 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 (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.001083/0.1682, allocations: 464 kB / 478 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1684, allocations: 51.97 kB / 478.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1684, allocations: 7.875 kB / 478.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.162e-05/0.1685, allocations: 36.2 kB / 478.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1688, allocations: 37.8 kB / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.1693, allocations: 233.9 kB / 478.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1696, allocations: 0.7004 MB / 479.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.288e-05/0.1697, allocations: 16.88 kB / 479.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.1698, allocations: 23.38 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1698, allocations: 0 / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of Templates: time 0.004723/0.1745, allocations: 1.581 MB / 480.7 MB, free: 4.383 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches