Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 97.02 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 182.7 kB / 16.92 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 223.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4429/0.4429, allocations: 43.57 MB / 315 MB, free: 8.766 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005732/0.0005734, allocations: 12 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1621, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002578/0.1647, allocations: 1.421 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1663, allocations: 0.7769 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1665, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.1669, allocations: 47.81 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.1672, allocations: 51.81 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1675, allocations: 79.84 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.1677, allocations: 91.7 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1679, allocations: 8.219 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.168, allocations: 43.78 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1681, allocations: 35.78 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1681, allocations: 0 / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1683, allocations: 35.98 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.1683, allocations: 23.91 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.1684, allocations: 73.38 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1687, allocations: 115.9 kB / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1687, allocations: 0 / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1687, allocations: 0 / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1687, allocations: 0 / 446.2 MB, free: 9.863 MB / 382.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.0006415/0.1693, allocations: 403 kB / 446.6 MB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1694, allocations: 11.97 kB / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.1695, allocations: 16.75 kB / 446.7 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1698, allocations: 212.1 kB / 446.9 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1698, allocations: 8.375 kB / 446.9 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1698, allocations: 12.03 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.17, allocations: 57.67 kB / 446.9 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.17, allocations: 0 / 446.9 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.17, allocations: 3.984 kB / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1701, allocations: 0 / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.1701, allocations: 23.92 kB / 447 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.1706, allocations: 296.8 kB / 447.3 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1708, allocations: 58.67 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.1709, allocations: 16.86 kB / 447.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1709, allocations: 0 / 447.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.1711, allocations: 71.33 kB / 447.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.296e-06/0.1711, allocations: 7.984 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006119/0.1717, allocations: 173.1 kB / 447.6 MB, free: 8.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1718, allocations: 51.41 kB / 447.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.172, allocations: 218.7 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1721, allocations: 33.7 kB / 447.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.1722, allocations: 104.1 kB / 448 MB, free: 7.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.1722, allocations: 23.66 kB / 448 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.1723, allocations: 21.7 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1724, allocations: 330.8 kB / 448.3 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.1725, allocations: 20 kB / 448.4 MB, free: 7.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.1725, allocations: 33.7 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1727, allocations: 61.62 kB / 448.5 MB, free: 7.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1727, allocations: 0 / 448.5 MB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002183/0.1729, allocations: 105.6 kB / 448.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1729, allocations: 4 kB / 448.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1729, allocations: 7.938 kB / 448.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.173, allocations: 0 / 448.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.1731, allocations: 15.94 kB / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1731, allocations: 0 / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.1731, allocations: 11.92 kB / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1732, allocations: 8 kB / 448.6 MB, free: 7.25 MB / 382.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.0001181/0.1733, allocations: 125.8 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1733, allocations: 15.84 kB / 448.8 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.1734, allocations: 21.41 kB / 448.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1734, allocations: 0 / 448.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1734, allocations: 0 / 448.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1734, allocations: 3.938 kB / 448.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.1739, allocations: 399.3 kB / 449.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1739, allocations: 0 / 449.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.1739, allocations: 8.375 kB / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1739, allocations: 4.219 kB / 449.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.174, allocations: 3.938 kB / 449.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.174, allocations: 15.88 kB / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.174, allocations: 0 / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1742, allocations: 204.2 kB / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.1743, allocations: 88.92 kB / 449.5 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1743, allocations: 7.938 kB / 449.5 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.1744, allocations: 11.98 kB / 449.5 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.1745, allocations: 4 kB / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1745, allocations: 4 kB / 449.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1746, allocations: 172.3 kB / 449.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1746, allocations: 0 / 449.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1749, allocations: 24 kB / 449.7 MB, free: 6.055 MB / 382.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.001243/0.1762, allocations: 472.9 kB / 450.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1764, allocations: 63.95 kB / 450.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1764, allocations: 0 / 450.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.1765, allocations: 31.92 kB / 450.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1769, allocations: 28.05 kB / 450.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.1775, allocations: 290 kB / 450.6 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.178, allocations: 0.7082 MB / 451.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.1781, allocations: 8.891 kB / 451.3 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.1781, allocations: 23.42 kB / 451.3 MB, free: 4.422 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1781, allocations: 0 / 451.3 MB, free: 4.422 MB / 382.1 MB Notification: Performance of Templates: time 0.005389/0.1835, allocations: 1.623 MB / 452.9 MB, free: 2.801 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches