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.001276/0.001276, allocations: 113.6 kB / 17.07 MB, free: 5.945 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.001407/0.001408, allocations: 194.8 kB / 18 MB, free: 5.039 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.533/1.533, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.359/1.359, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 66.08 kB / 0.5709 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1893, allocations: 80.69 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003555/0.1929, allocations: 1.38 MB / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1943, allocations: 0.5752 MB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.1944, allocations: 0 / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1946, allocations: 23.91 kB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.195, allocations: 59.8 kB / 0.6517 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.1954, allocations: 83.36 kB / 0.6518 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1957, allocations: 103.7 kB / 0.6519 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.1957, allocations: 4 kB / 0.6519 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1959, allocations: 47.83 kB / 0.6519 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1961, allocations: 39.91 kB / 0.6519 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1961, allocations: 4 kB / 0.652 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1963, allocations: 79.91 kB / 0.652 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.1964, allocations: 63.77 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.1965, allocations: 51.59 kB / 0.6521 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1968, allocations: 151.5 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1968, allocations: 0 / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.224e-06/0.1968, allocations: 0 / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1969, 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.000688/0.1976, allocations: 484.1 kB / 0.6527 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1976, allocations: 15.89 kB / 0.6528 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.1977, allocations: 16.75 kB / 0.6528 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.1982, allocations: 308.7 kB / 0.6531 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1982, allocations: 384 / 0.6531 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1983, allocations: 8.375 kB / 0.6531 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1984, allocations: 57.92 kB / 0.6531 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1984, allocations: 0 / 0.6531 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1984, allocations: 0 / 0.6531 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1985, allocations: 4 kB / 0.6531 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.1985, allocations: 23.98 kB / 0.6532 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.1988, allocations: 209.6 kB / 0.6534 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.1989, allocations: 42.56 kB / 0.6534 GB, free: 9.109 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.1989, allocations: 24.86 kB / 0.6534 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.199, allocations: 0 / 0.6534 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1991, allocations: 109 kB / 0.6535 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1992, allocations: 0 / 0.6535 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003627/0.1995, allocations: 167.1 kB / 0.6537 GB, free: 8.781 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.1996, allocations: 85.09 kB / 0.6538 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1998, allocations: 228.2 kB / 0.654 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1999, allocations: 29.64 kB / 0.654 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.2, allocations: 120.1 kB / 0.6541 GB, free: 8.289 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.2, allocations: 15.75 kB / 0.6541 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.2001, allocations: 25.7 kB / 0.6542 GB, free: 8.242 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2002, allocations: 338.8 kB / 0.6545 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.2003, allocations: 19.98 kB / 0.6545 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.2003, allocations: 16 kB / 0.6545 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.2004, allocations: 104.2 kB / 0.6546 GB, free: 7.75 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2005, allocations: 0 / 0.6546 GB, free: 7.75 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002131/0.2007, allocations: 155 kB / 0.6548 GB, free: 7.586 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.2007, allocations: 40.34 kB / 0.6548 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2007, allocations: 0 / 0.6548 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2008, allocations: 0 / 0.6548 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/0.2008, allocations: 8 kB / 0.6548 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2008, allocations: 240 / 0.6548 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.2009, allocations: 4 kB / 0.6548 GB, free: 7.531 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2009, allocations: 15.97 kB / 0.6548 GB, free: 7.516 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.0001473/0.2011, allocations: 181 kB / 0.655 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.2011, allocations: 19.75 kB / 0.655 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.2012, allocations: 21.39 kB / 0.6551 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2012, allocations: 0 / 0.6551 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2012, allocations: 0 / 0.6551 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2012, allocations: 8 kB / 0.6551 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.2014, allocations: 213.5 kB / 0.6553 GB, free: 7.016 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2014, allocations: 96 / 0.6553 GB, free: 7.016 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.2015, allocations: 15.81 kB / 0.6553 GB, free: 7 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2015, allocations: 0 / 0.6553 GB, free: 7 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.2015, allocations: 4 kB / 0.6553 GB, free: 6.996 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2015, allocations: 0 / 0.6553 GB, free: 6.996 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2015, allocations: 0 / 0.6553 GB, free: 6.996 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.2018, allocations: 194.6 kB / 0.6555 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.2019, allocations: 104.8 kB / 0.6556 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.2019, allocations: 4 kB / 0.6556 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.202, allocations: 7.984 kB / 0.6556 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.202, allocations: 7.938 kB / 0.6556 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.202, allocations: 8 kB / 0.6556 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.000173/0.2022, allocations: 177.6 kB / 0.6558 GB, free: 6.461 MB / 0.4983 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2022, allocations: 0 / 0.6558 GB, free: 6.461 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002519/0.2025, allocations: 36 kB / 0.6558 GB, free: 6.426 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.0002032/0.2027, allocations: 131.3 kB / 0.6559 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.2029, allocations: 151.3 kB / 0.6561 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.203, allocations: 0 / 0.6561 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2031, allocations: 107.4 kB / 0.6562 GB, free: 6.012 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.2033, allocations: 16.67 kB / 0.6562 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.2039, allocations: 287.6 kB / 0.6565 GB, free: 5.688 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2042, allocations: 0.7278 MB / 0.6572 GB, free: 4.934 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 8.35e-05/0.2043, allocations: 25.41 kB / 0.6572 GB, free: 4.906 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.2044, allocations: 11.44 kB / 0.6572 GB, free: 4.898 MB / 0.4983 GB Notification: Performance of SimCode: time 5.31e-07/0.2044, allocations: 3.938 kB / 0.6572 GB, free: 4.895 MB / 0.4983 GB Notification: Performance of Templates: time 0.005246/0.2096, allocations: 1.368 MB / 0.6585 GB, free: 3.531 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