Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 108 kB / 17.09 MB, free: 5.992 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.001076/0.001076, allocations: 192.3 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2397/0.2397, allocations: 43.53 MB / 314.8 MB, free: 436 kB / 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.001533/0.001533, allocations: 69.45 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1767, allocations: 57.78 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.005483/0.1823, allocations: 1.691 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.1848, allocations: 0.8092 MB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.185, allocations: 0 / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.1855, allocations: 43.77 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.1859, allocations: 51.75 kB / 0.4911 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.1864, allocations: 91.77 kB / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.1867, allocations: 95.69 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1869, allocations: 16.22 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1871, allocations: 47.77 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1872, allocations: 27.8 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.1872, allocations: 4 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1874, allocations: 43.98 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.1875, allocations: 23.91 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.756e-05/0.1876, allocations: 31.75 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.1879, allocations: 103.8 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.188, allocations: 4 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.47e-06/0.188, allocations: 0 / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.188, allocations: 3.938 kB / 0.4916 GB, free: 8.609 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.0008326/0.1888, allocations: 407 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.1889, allocations: 11.89 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.068e-05/0.189, allocations: 16.73 kB / 0.492 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.1895, allocations: 208 kB / 0.4922 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1896, allocations: 384 / 0.4922 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.1896, allocations: 8.125 kB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.1899, allocations: 61.66 kB / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.19, allocations: 3.984 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.19, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.19, allocations: 4 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1902, allocations: 19.92 kB / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.1908, allocations: 284.9 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.1911, allocations: 58.69 kB / 0.4927 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.1912, allocations: 20.84 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.1912, allocations: 4 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.1915, allocations: 67.33 kB / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.1915, allocations: 0 / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008991/0.1924, allocations: 181.1 kB / 0.4929 GB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.1925, allocations: 51.41 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1928, allocations: 174.2 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.1928, allocations: 33.64 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.1929, allocations: 96.12 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.193, allocations: 19.72 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.1931, allocations: 29.7 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1933, allocations: 326.8 kB / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.882e-05/0.1934, allocations: 20 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1935, allocations: 38.08 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.1938, allocations: 61.62 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1938, allocations: 0 / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003246/0.1941, allocations: 105.6 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1941, allocations: 4 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1942, allocations: 4.031 kB / 0.4938 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.1942, allocations: 0 / 0.4938 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1944, allocations: 19.94 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.1944, allocations: 0 / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.1945, allocations: 3.984 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1945, allocations: 7.938 kB / 0.4939 GB, free: 6.07 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.0001537/0.1947, allocations: 125.8 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.1947, allocations: 11.81 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.1948, allocations: 16.7 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1948, allocations: 8 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1949, allocations: 0 / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.1949, allocations: 81.02 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.195, allocations: 7.938 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1951, allocations: 7.984 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.1951, allocations: 4 kB / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003458/0.1955, allocations: 172.9 kB / 0.4943 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004064/0.1959, allocations: 278.6 kB / 0.4945 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001024/0.196, allocations: 23.98 kB / 0.4946 GB, free: 5.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1962, allocations: 132.1 kB / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of Backend: time 8.61e-07/0.1962, allocations: 3.938 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.1989, allocations: 496.5 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009201/0.1998, allocations: 0.6551 MB / 0.4958 GB, free: 4.023 MB / 382.1 MB Notification: Performance of Templates: time 0.008105/0.2079, allocations: 1.739 MB / 0.4975 GB, free: 2.289 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches