Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 113.4 kB / 17.07 MB, free: 5.984 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.001331/0.001331, allocations: 194.1 kB / 18 MB, free: 5.074 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.517/1.517, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.239/1.239, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 66.08 kB / 0.5709 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1849, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002814/0.1877, allocations: 1.384 MB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1889, allocations: 0.5675 MB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.1889, allocations: 7.938 kB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1891, allocations: 19.91 kB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1894, allocations: 59.86 kB / 0.6517 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1898, allocations: 75.8 kB / 0.6518 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1899, allocations: 99.72 kB / 0.6519 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.19, allocations: 7.984 kB / 0.6519 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1901, allocations: 43.84 kB / 0.6519 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1903, allocations: 47.89 kB / 0.6519 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1903, allocations: 4 kB / 0.652 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1905, allocations: 83.86 kB / 0.652 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1906, allocations: 63.81 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.1907, allocations: 47.61 kB / 0.6521 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1909, allocations: 147.3 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.191, allocations: 0 / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.633e-06/0.191, allocations: 0 / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.191, allocations: 0 / 0.6523 GB, free: 10.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006703/0.1916, allocations: 495.9 kB / 0.6528 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1917, allocations: 11.89 kB / 0.6528 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.1918, allocations: 16.84 kB / 0.6528 GB, free: 9.848 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.1923, allocations: 313 kB / 0.6531 GB, free: 9.5 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1923, allocations: 8.312 kB / 0.6531 GB, free: 9.492 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1923, allocations: 4.375 kB / 0.6531 GB, free: 9.488 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1925, allocations: 53.98 kB / 0.6531 GB, free: 9.43 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1925, allocations: 0 / 0.6531 GB, free: 9.43 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1925, allocations: 4 kB / 0.6531 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1925, allocations: 0 / 0.6531 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.1926, allocations: 20 kB / 0.6532 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.1929, allocations: 205.5 kB / 0.6534 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.193, allocations: 50.5 kB / 0.6534 GB, free: 9.098 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.193, allocations: 28.8 kB / 0.6534 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.193, allocations: 0 / 0.6534 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.1932, allocations: 109 kB / 0.6535 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1932, allocations: 0 / 0.6535 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003595/0.1936, allocations: 167.2 kB / 0.6537 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/0.1937, allocations: 85.05 kB / 0.6538 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.1939, allocations: 232.2 kB / 0.654 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.194, allocations: 25.7 kB / 0.654 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.1941, allocations: 120.1 kB / 0.6541 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.1941, allocations: 19.89 kB / 0.6542 GB, free: 8.254 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.1942, allocations: 21.72 kB / 0.6542 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1943, allocations: 334.8 kB / 0.6545 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.1944, allocations: 16 kB / 0.6545 GB, free: 7.875 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.1944, allocations: 24.02 kB / 0.6545 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.1946, allocations: 104.3 kB / 0.6546 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.1946, allocations: 0 / 0.6546 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00021/0.1948, allocations: 159.1 kB / 0.6548 GB, free: 7.566 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.1948, allocations: 33.7 kB / 0.6548 GB, free: 7.527 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1948, allocations: 0 / 0.6548 GB, free: 7.527 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1949, allocations: 0 / 0.6548 GB, free: 7.527 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.1949, allocations: 11.98 kB / 0.6548 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1949, allocations: 0 / 0.6548 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.195, allocations: 4 kB / 0.6548 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.195, allocations: 8 kB / 0.6548 GB, free: 7.504 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001595/0.1952, allocations: 177.2 kB / 0.655 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.1953, allocations: 27.73 kB / 0.655 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.1953, allocations: 21.39 kB / 0.6551 GB, free: 7.266 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1953, allocations: 0 / 0.6551 GB, free: 7.266 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1953, allocations: 4 kB / 0.6551 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1953, allocations: 3.938 kB / 0.6551 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1955, allocations: 213.5 kB / 0.6553 GB, free: 7 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1956, allocations: 0 / 0.6553 GB, free: 7 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.1956, allocations: 11.94 kB / 0.6553 GB, free: 6.988 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1956, allocations: 4 kB / 0.6553 GB, free: 6.984 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1956, allocations: 4 kB / 0.6553 GB, free: 6.98 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1956, allocations: 0 / 0.6553 GB, free: 6.98 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1956, allocations: 0 / 0.6553 GB, free: 6.98 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.1959, allocations: 198.7 kB / 0.6555 GB, free: 6.762 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.196, allocations: 104.9 kB / 0.6556 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1961, allocations: 8 kB / 0.6556 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.1961, allocations: 0 / 0.6556 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.1961, allocations: 11.94 kB / 0.6556 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1962, allocations: 4 kB / 0.6556 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001703/0.1963, allocations: 177.6 kB / 0.6558 GB, free: 6.445 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1963, allocations: 0 / 0.6558 GB, free: 6.445 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002426/0.1966, allocations: 39.94 kB / 0.6558 GB, free: 6.406 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001992/0.1968, allocations: 131 kB / 0.6559 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1971, allocations: 139.4 kB / 0.6561 GB, free: 6.125 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1971, allocations: 0 / 0.6561 GB, free: 6.125 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1972, allocations: 111.4 kB / 0.6562 GB, free: 6.004 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.1974, allocations: 24.61 kB / 0.6562 GB, free: 5.977 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.198, allocations: 295.1 kB / 0.6565 GB, free: 5.664 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1984, allocations: 0.7317 MB / 0.6572 GB, free: 4.906 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.112e-05/0.1985, allocations: 29.73 kB / 0.6572 GB, free: 4.875 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.1985, allocations: 11.44 kB / 0.6572 GB, free: 4.867 MB / 0.4983 GB Notification: Performance of SimCode: time 2.31e-07/0.1985, allocations: 4 kB / 0.6572 GB, free: 4.863 MB / 0.4983 GB Notification: Performance of Templates: time 0.005004/0.2035, allocations: 1.354 MB / 0.6586 GB, free: 3.508 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches