Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007815/0.0007817, allocations: 94.72 kB / 17.35 MB, free: 6.375 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.0008548/0.0008548, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.525/1.525, allocations: 223.3 MB / 242.3 MB, free: 240 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.2318/0.2318, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004092, allocations: 13.41 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003006/0.1769, allocations: 1.985 MB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.1795, allocations: 1.251 MB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.1797, allocations: 7.938 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006315/0.1804, allocations: 271.3 kB / 475.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.1809, allocations: 239.1 kB / 476 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.1818, allocations: 349.3 kB / 476.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006052/0.1824, allocations: 498.5 kB / 476.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1826, allocations: 49.08 kB / 476.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.1829, allocations: 215 kB / 477.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.1832, allocations: 251 kB / 477.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1832, allocations: 8 kB / 477.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1834, allocations: 47.98 kB / 477.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1835, allocations: 107.5 kB / 477.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1837, allocations: 188.4 kB / 477.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.1841, allocations: 374.7 kB / 478 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.1841, allocations: 0 / 478 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1841, allocations: 0 / 478 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1842, allocations: 4 kB / 478 MB, free: 7.543 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001185/0.1854, allocations: 0.6893 MB / 478.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1854, allocations: 15.97 kB / 478.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.1855, allocations: 52.28 kB / 478.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.1861, allocations: 399.9 kB / 479.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.1862, allocations: 16.38 kB / 479.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.1862, allocations: 16.12 kB / 479.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.1867, allocations: 206.8 kB / 479.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1867, allocations: 0 / 479.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.1867, allocations: 8 kB / 479.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1867, allocations: 0 / 479.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.187, allocations: 103.9 kB / 479.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.188, allocations: 0.8526 MB / 480.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/0.1887, allocations: 293.2 kB / 480.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.1889, allocations: 92.25 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.1889, allocations: 12 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.1894, allocations: 227.5 kB / 481 MB, free: 4.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 5.771e-06/0.1895, allocations: 4 kB / 481 MB, free: 4.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002065/0.1915, allocations: 0.9831 MB / 482 MB, free: 3.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.1916, allocations: 162.2 kB / 482.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.1923, allocations: 0.616 MB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1924, allocations: 41.7 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.1926, allocations: 225 kB / 483 MB, free: 2.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1927, allocations: 122.3 kB / 483.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.1927, allocations: 37.7 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1929, allocations: 366.8 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1932, allocations: 100.8 kB / 483.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.1935, allocations: 180.9 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.194, allocations: 304.7 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.194, allocations: 4 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000753/0.1948, allocations: 396.7 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.1948, allocations: 18.64 kB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1948, allocations: 0 / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.1949, allocations: 8 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.1952, allocations: 79.91 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1952, allocations: 7.938 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.1954, allocations: 21.86 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.1955, allocations: 19.98 kB / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002382/0.1957, allocations: 204.3 kB / 484.9 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.1958, allocations: 63.17 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.1959, allocations: 67.91 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.196, allocations: 4 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.196, allocations: 4 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.196, allocations: 3.938 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.1977, allocations: 1.261 MB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1977, allocations: 0 / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.1978, allocations: 56.06 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1978, allocations: 8 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.1979, allocations: 19.92 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.1979, allocations: 4 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.1979, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.1989, allocations: 0.8164 MB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.199, allocations: 136.4 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.1991, allocations: 15.94 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.1995, allocations: 31.92 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.1996, allocations: 35.89 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.1996, allocations: 23.98 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005054/0.2001, allocations: 454.8 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2001, allocations: 0 / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.2007, allocations: 79.98 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001196/0.2019, allocations: 484.8 kB / 488.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006976/0.2026, allocations: 295.5 kB / 488.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2026, allocations: 0 / 488.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.2029, allocations: 153 kB / 488.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.2042, allocations: 143.5 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.2059, allocations: 0.9927 MB / 490 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.2064, allocations: 0.8476 MB / 490.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.2067, allocations: 87.38 kB / 490.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2068, allocations: 55.42 kB / 490.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2068, allocations: 0 / 490.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01212/0.219, allocations: 5.274 MB / 496.2 MB, free: 4.973 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches