Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.001127/0.001127, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.494/1.494, allocations: 223.3 MB / 241.9 MB, free: 336 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.267/0.267, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003972, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1745, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003207/0.1778, allocations: 1.39 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1799, allocations: 0.8036 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1801, allocations: 0 / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.1805, allocations: 51.86 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1808, allocations: 55.77 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.1813, allocations: 86.7 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1815, allocations: 91.67 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1816, allocations: 8.234 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1818, allocations: 43.78 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.356e-05/0.1819, allocations: 27.86 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1819, allocations: 4 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.182, allocations: 35.97 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.1821, allocations: 19.92 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1822, allocations: 49.62 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1824, allocations: 96.08 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1824, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.779e-06/0.1825, allocations: 7.984 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1825, allocations: 0 / 474.4 MB, free: 10.9 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.0007442/0.1832, allocations: 426.6 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.1833, allocations: 8.031 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.1833, allocations: 7.906 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.1837, allocations: 210.8 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1837, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1837, allocations: 7.984 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.184, allocations: 61.62 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.184, allocations: 0 / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.184, allocations: 0 / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.184, allocations: 0 / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1842, allocations: 27.92 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.1847, allocations: 284.9 kB / 475.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.185, allocations: 70.61 kB / 475.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.185, allocations: 16.86 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.1851, allocations: 7.984 kB / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.1854, allocations: 67.33 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.1854, allocations: 0 / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007271/0.1861, allocations: 177 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.1862, allocations: 67.39 kB / 475.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.1866, allocations: 262.3 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1866, allocations: 25.7 kB / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1867, allocations: 116.1 kB / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.1868, allocations: 19.72 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.1868, allocations: 0 / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.187, allocations: 334.8 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.521e-05/0.1871, allocations: 20 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.84e-05/0.1872, allocations: 37.7 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.331e-05/0.1873, allocations: 20 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1873, allocations: 3.938 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002546/0.1875, allocations: 109.4 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.1876, allocations: 4 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1876, allocations: 0 / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.1876, allocations: 0 / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1878, allocations: 24.02 kB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1878, allocations: 3.938 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.1879, allocations: 4 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1879, allocations: 384 / 476.7 MB, free: 8.297 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.0001804/0.1881, allocations: 142.2 kB / 476.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1881, allocations: 15.81 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.1882, allocations: 21.55 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1882, allocations: 0 / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.1882, allocations: 4 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1882, allocations: 4 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.1889, allocations: 411.2 kB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1889, allocations: 0 / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.1889, allocations: 8 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.1889, allocations: 4 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.189, allocations: 0 / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.189, allocations: 192 / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.189, allocations: 0 / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.1893, allocations: 228 kB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.1894, allocations: 88.92 kB / 477.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1895, allocations: 4 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1896, allocations: 4 kB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.1897, allocations: 11.97 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.1897, allocations: 0 / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.19, allocations: 204.5 kB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.19, allocations: 0 / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.1904, allocations: 24 kB / 477.9 MB, free: 7.043 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.001638/0.1921, allocations: 457.2 kB / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1924, allocations: 63.89 kB / 478.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1924, allocations: 0 / 478.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1925, allocations: 35.92 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.1931, allocations: 23.94 kB / 478.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.1939, allocations: 295.1 kB / 478.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.1943, allocations: 0.72 MB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.905e-05/0.1945, allocations: 17.17 kB / 479.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.1945, allocations: 15.44 kB / 479.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1945, allocations: 3.938 kB / 479.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of Templates: time 0.00693/0.2015, allocations: 1.623 MB / 481.1 MB, free: 3.938 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches