Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 113.6 kB / 17.06 MB, free: 5.969 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.001312/0.001312, allocations: 200 kB / 18.01 MB, free: 5.047 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.481/1.481, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.188/1.188, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 66.84 kB / 0.5709 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1818, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003378/0.1852, allocations: 1.562 MB / 0.6512 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1868, allocations: 0.8807 MB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.1869, allocations: 4 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.1873, allocations: 59.73 kB / 0.6521 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.1877, allocations: 103.6 kB / 0.6522 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1881, allocations: 103.5 kB / 0.6523 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1883, allocations: 135.6 kB / 0.6525 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.1883, allocations: 11.98 kB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.1885, allocations: 59.77 kB / 0.6525 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1887, allocations: 63.69 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1887, allocations: 8 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.1888, allocations: 31.98 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1889, allocations: 71.8 kB / 0.6527 GB, free: 9.977 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.189, allocations: 63.42 kB / 0.6528 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.1893, allocations: 155.2 kB / 0.6529 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1893, allocations: 0 / 0.6529 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1893, allocations: 0 / 0.6529 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1893, allocations: 0 / 0.6529 GB, free: 9.762 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007268/0.1901, allocations: 498 kB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1901, allocations: 8.031 kB / 0.6534 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.1902, allocations: 28.8 kB / 0.6534 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.1907, allocations: 335.6 kB / 0.6537 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1908, allocations: 4.359 kB / 0.6538 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1908, allocations: 8.125 kB / 0.6538 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.191, allocations: 53.61 kB / 0.6538 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.191, allocations: 3.938 kB / 0.6538 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.191, allocations: 0 / 0.6538 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.191, allocations: 4 kB / 0.6538 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.1911, allocations: 12 kB / 0.6538 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.1913, allocations: 217.6 kB / 0.654 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1915, allocations: 54.61 kB / 0.6541 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.1916, allocations: 20.8 kB / 0.6541 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1916, allocations: 7.938 kB / 0.6541 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1918, allocations: 67.39 kB / 0.6542 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.1918, allocations: 0 / 0.6542 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0003235/0.1921, allocations: 105.5 kB / 0.6543 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.1922, allocations: 55.41 kB / 0.6543 GB, free: 8.125 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.1925, allocations: 274.7 kB / 0.6546 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1926, allocations: 25.7 kB / 0.6546 GB, free: 7.812 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1927, allocations: 144 kB / 0.6548 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.1927, allocations: 3.953 kB / 0.6548 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.1928, allocations: 25.72 kB / 0.6548 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.1929, allocations: 334.8 kB / 0.6551 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.193, allocations: 15.98 kB / 0.6551 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.1931, allocations: 25.72 kB / 0.6551 GB, free: 7.25 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1932, allocations: 41.7 kB / 0.6552 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1932, allocations: 4.25 kB / 0.6552 GB, free: 7.199 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001831/0.1934, allocations: 101.4 kB / 0.6553 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1934, allocations: 6.656 kB / 0.6553 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1934, allocations: 0 / 0.6553 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1934, allocations: 4 kB / 0.6553 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.1935, allocations: 11.98 kB / 0.6553 GB, free: 7.074 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1935, allocations: 160 / 0.6553 GB, free: 7.074 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.1936, allocations: 11.89 kB / 0.6553 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1936, allocations: 0 / 0.6553 GB, free: 7.062 MB / 0.4983 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001599/0.1938, allocations: 162.5 kB / 0.6555 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.1938, allocations: 19.86 kB / 0.6555 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.1939, allocations: 33.28 kB / 0.6555 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1939, allocations: 0 / 0.6555 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1939, allocations: 0 / 0.6555 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1939, allocations: 3.938 kB / 0.6555 GB, free: 6.836 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1941, allocations: 221.5 kB / 0.6557 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1941, allocations: 0 / 0.6557 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.1942, allocations: 4 kB / 0.6557 GB, free: 6.566 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1942, allocations: 0 / 0.6557 GB, free: 6.566 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1942, allocations: 7.984 kB / 0.6557 GB, free: 6.559 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1942, allocations: 0 / 0.6557 GB, free: 6.559 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1942, allocations: 0 / 0.6557 GB, free: 6.559 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1944, allocations: 120.9 kB / 0.6559 GB, free: 6.422 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.1945, allocations: 100.9 kB / 0.656 GB, free: 6.305 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1945, allocations: 4 kB / 0.656 GB, free: 6.301 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.1946, allocations: 3.984 kB / 0.656 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.1946, allocations: 7.984 kB / 0.656 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1946, allocations: 12.12 kB / 0.656 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0002149/0.1949, allocations: 205.9 kB / 0.6562 GB, free: 6.078 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1949, allocations: 0 / 0.6562 GB, free: 6.078 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002274/0.1951, allocations: 19.94 kB / 0.6562 GB, free: 6.059 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001465/0.1966, allocations: 400.3 kB / 0.6566 GB, free: 5.816 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1968, allocations: 43.92 kB / 0.6566 GB, free: 5.773 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1968, allocations: 4 kB / 0.6566 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.1968, allocations: 20 kB / 0.6566 GB, free: 5.75 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1972, allocations: 44.7 kB / 0.6567 GB, free: 5.707 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.1978, allocations: 315.7 kB / 0.657 GB, free: 5.371 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.1982, allocations: 0.7397 MB / 0.6577 GB, free: 4.602 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.1983, allocations: 37.52 kB / 0.6578 GB, free: 4.562 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.1984, allocations: 27.44 kB / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of SimCode: time 3.21e-07/0.1984, allocations: 0 / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of Templates: time 0.00552/0.2039, allocations: 1.718 MB / 0.6595 GB, free: 2.832 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches