Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.001601/0.001601, allocations: 176.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.463/1.463, allocations: 223.3 MB / 242.3 MB, free: 208 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.2224/0.2224, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005448/0.0005449, allocations: 8 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1847, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002248/0.187, allocations: 1.417 MB / 473.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1885, allocations: 0.8382 MB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.1886, allocations: 4 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1889, allocations: 39.89 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1891, allocations: 47.83 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1895, allocations: 87.78 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1897, allocations: 99.67 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1898, allocations: 8.219 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.601e-05/0.1899, allocations: 39.8 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.766e-05/0.19, allocations: 35.83 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.19, allocations: 0 / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1902, allocations: 47.86 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.1902, allocations: 19.92 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.041e-05/0.1903, allocations: 57.44 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1905, allocations: 111.9 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1905, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1905, allocations: 4 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1905, allocations: 0 / 475.1 MB, free: 10.48 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.000535/0.1911, allocations: 399.2 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1911, allocations: 8.031 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.1912, allocations: 16.69 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1914, allocations: 212.7 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1915, allocations: 4.375 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1915, allocations: 4.125 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1916, allocations: 53.67 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1917, allocations: 0 / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1917, allocations: 4 kB / 475.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.1917, allocations: 4 kB / 475.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.1918, allocations: 19.98 kB / 475.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.1921, allocations: 288.8 kB / 476.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1923, allocations: 54.67 kB / 476.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.1924, allocations: 28.84 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1924, allocations: 0 / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1926, allocations: 75.23 kB / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1926, allocations: 0 / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005747/0.1932, allocations: 177.2 kB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1933, allocations: 55.34 kB / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1935, allocations: 195.3 kB / 476.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1935, allocations: 33.7 kB / 476.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.1936, allocations: 100.1 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.1936, allocations: 19.72 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1936, allocations: 17.72 kB / 476.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1938, allocations: 322.8 kB / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.1938, allocations: 23.98 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1939, allocations: 37.7 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.194, allocations: 65.64 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1941, allocations: 0 / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.1943, allocations: 101.8 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1943, allocations: 4 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1943, allocations: 3.938 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1943, allocations: 0 / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.1944, allocations: 23.92 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1944, allocations: 4.406 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.1945, allocations: 3.938 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1945, allocations: 11.94 kB / 477.4 MB, free: 7.91 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 ($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.0001165/0.1946, allocations: 125.8 kB / 477.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1947, allocations: 15.81 kB / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.1947, allocations: 17.39 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1947, allocations: 4 kB / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1947, allocations: 0 / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1947, allocations: 3.938 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.1952, allocations: 395.3 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1952, allocations: 3.984 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.1953, allocations: 8 kB / 478 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1953, allocations: 0 / 478 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1953, allocations: 11.92 kB / 478 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1953, allocations: 4 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1953, allocations: 3.938 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1956, allocations: 200.2 kB / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.1956, allocations: 89.02 kB / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1957, allocations: 7.922 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.1957, allocations: 4 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1958, allocations: 8 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.1958, allocations: 7.984 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1959, allocations: 144.9 kB / 478.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1959, allocations: 0 / 478.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1962, allocations: 31.98 kB / 478.5 MB, free: 6.742 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 (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.00113/0.1974, allocations: 478.9 kB / 479 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.1976, allocations: 55.97 kB / 479 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1976, allocations: 0 / 479 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.1977, allocations: 27.94 kB / 479 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1981, allocations: 28.28 kB / 479.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.1986, allocations: 254.5 kB / 479.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1989, allocations: 0.7043 MB / 480 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.199, allocations: 20.86 kB / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.199, allocations: 15.44 kB / 480.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.199, allocations: 0 / 480.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of Templates: time 0.004767/0.2038, allocations: 1.629 MB / 481.7 MB, free: 3.688 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches