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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 190.4 kB / 17.27 MB, free: 4.477 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 100.3 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 1.122/1.122, allocations: 119.3 MB / 460.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 59.16 kB / 0.5391 GB, free: 43.16 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1891, allocations: 80.68 MB / 0.6179 GB, free: 12.74 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003294/0.1924, allocations: 1.47 MB / 0.6193 GB, free: 11.26 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1937, allocations: 0.5806 MB / 0.6199 GB, free: 10.67 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.698e-05/0.1938, allocations: 0 / 0.6199 GB, free: 10.67 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.194, allocations: 23.97 kB / 0.6199 GB, free: 10.65 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1944, allocations: 59.8 kB / 0.62 GB, free: 10.59 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1947, allocations: 55.94 kB / 0.62 GB, free: 10.54 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1948, allocations: 79.77 kB / 0.6201 GB, free: 10.46 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.1949, allocations: 3.984 kB / 0.6201 GB, free: 10.45 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1951, allocations: 51.83 kB / 0.6202 GB, free: 10.4 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1952, allocations: 35.91 kB / 0.6202 GB, free: 10.37 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1953, allocations: 8 kB / 0.6202 GB, free: 10.36 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1954, allocations: 79.86 kB / 0.6203 GB, free: 10.28 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.1956, allocations: 55.81 kB / 0.6203 GB, free: 10.23 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1957, allocations: 47.61 kB / 0.6204 GB, free: 10.18 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1959, allocations: 147.7 kB / 0.6205 GB, free: 10.04 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1959, allocations: 4 kB / 0.6205 GB, free: 10.03 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1959, allocations: 0 / 0.6205 GB, free: 10.03 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1959, allocations: 0 / 0.6205 GB, free: 10.03 MB / 442.8 MB 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.000787/0.1967, allocations: 476.2 kB / 0.621 GB, free: 9.512 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.1968, allocations: 12.03 kB / 0.621 GB, free: 9.5 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.1969, allocations: 16.75 kB / 0.621 GB, free: 9.484 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.1974, allocations: 308.6 kB / 0.6213 GB, free: 9.141 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.1974, allocations: 4.375 kB / 0.6213 GB, free: 9.137 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1974, allocations: 4.375 kB / 0.6213 GB, free: 9.133 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1976, allocations: 65.92 kB / 0.6214 GB, free: 9.062 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1976, allocations: 0 / 0.6214 GB, free: 9.062 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1976, allocations: 3.938 kB / 0.6214 GB, free: 9.059 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1976, allocations: 0 / 0.6214 GB, free: 9.059 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.1977, allocations: 23.98 kB / 0.6214 GB, free: 9.035 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.1979, allocations: 197.6 kB / 0.6216 GB, free: 8.793 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.198, allocations: 46.55 kB / 0.6216 GB, free: 8.738 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.198, allocations: 24.86 kB / 0.6217 GB, free: 8.711 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.198, allocations: 11.94 kB / 0.6217 GB, free: 8.699 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.1983, allocations: 105.2 kB / 0.6218 GB, free: 8.578 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1983, allocations: 0 / 0.6218 GB, free: 8.578 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003064/0.1986, allocations: 167.2 kB / 0.6219 GB, free: 8.402 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.1986, allocations: 77.11 kB / 0.622 GB, free: 8.309 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1989, allocations: 228.2 kB / 0.6222 GB, free: 8.078 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1989, allocations: 33.64 kB / 0.6223 GB, free: 8.039 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.199, allocations: 124.1 kB / 0.6224 GB, free: 7.914 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.199, allocations: 23.7 kB / 0.6224 GB, free: 7.891 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.1991, allocations: 17.72 kB / 0.6224 GB, free: 7.867 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1992, allocations: 334.8 kB / 0.6227 GB, free: 7.531 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.1992, allocations: 16 kB / 0.6227 GB, free: 7.516 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.1993, allocations: 15.98 kB / 0.6228 GB, free: 7.5 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1994, allocations: 104.3 kB / 0.6229 GB, free: 7.383 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1994, allocations: 0 / 0.6229 GB, free: 7.383 MB / 442.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001968/0.1996, allocations: 155.1 kB / 0.623 GB, free: 7.219 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.1997, allocations: 33.7 kB / 0.623 GB, free: 7.18 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1997, allocations: 0 / 0.623 GB, free: 7.18 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1997, allocations: 96 / 0.623 GB, free: 7.18 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.1998, allocations: 11.92 kB / 0.6231 GB, free: 7.168 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.1998, allocations: 11.94 kB / 0.6231 GB, free: 7.156 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.1999, allocations: 7.906 kB / 0.6231 GB, free: 7.148 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1999, allocations: 8 kB / 0.6231 GB, free: 7.141 MB / 442.8 MB 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.0001616/0.2001, allocations: 171.5 kB / 0.6232 GB, free: 6.957 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.2001, allocations: 27.75 kB / 0.6233 GB, free: 6.93 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.2002, allocations: 21.39 kB / 0.6233 GB, free: 6.902 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2002, allocations: 0 / 0.6233 GB, free: 6.902 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2002, allocations: 0 / 0.6233 GB, free: 6.902 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2002, allocations: 0 / 0.6233 GB, free: 6.902 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.2004, allocations: 217.5 kB / 0.6235 GB, free: 6.641 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2004, allocations: 0 / 0.6235 GB, free: 6.641 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.2004, allocations: 11.88 kB / 0.6235 GB, free: 6.629 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2004, allocations: 0 / 0.6235 GB, free: 6.629 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2005, allocations: 4 kB / 0.6235 GB, free: 6.625 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2005, allocations: 0 / 0.6235 GB, free: 6.625 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2005, allocations: 7.984 kB / 0.6235 GB, free: 6.617 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.201, allocations: 0.7971 MB / 0.6243 GB, free: 5.754 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.2011, allocations: 96.91 kB / 0.6244 GB, free: 5.641 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.2012, allocations: 8 kB / 0.6244 GB, free: 5.633 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.2012, allocations: 0 / 0.6244 GB, free: 5.633 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.2012, allocations: 7.984 kB / 0.6244 GB, free: 5.625 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2013, allocations: 8 kB / 0.6244 GB, free: 5.617 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001292/0.2014, allocations: 173.6 kB / 0.6246 GB, free: 5.449 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2014, allocations: 0 / 0.6246 GB, free: 5.449 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003351/0.2017, allocations: 47.92 kB / 0.6246 GB, free: 5.402 MB / 442.8 MB 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.0001773/0.2019, allocations: 111.2 kB / 0.6247 GB, free: 5.285 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2021, allocations: 139.4 kB / 0.6249 GB, free: 5.137 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2022, allocations: 3.938 kB / 0.6249 GB, free: 5.133 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.2023, allocations: 111.4 kB / 0.625 GB, free: 5.012 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2025, allocations: 28.61 kB / 0.625 GB, free: 4.98 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.2032, allocations: 440.2 kB / 0.6254 GB, free: 4.508 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.2036, allocations: 0.7243 MB / 0.6261 GB, free: 3.754 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 7.63e-05/0.2036, allocations: 29.77 kB / 0.6262 GB, free: 3.727 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.2037, allocations: 15.44 kB / 0.6262 GB, free: 3.711 MB / 442.8 MB Notification: Performance of SimCode: time 2.11e-07/0.2037, allocations: 0 / 0.6262 GB, free: 3.711 MB / 442.8 MB Notification: Performance of Templates: time 0.004311/0.208, allocations: 1.353 MB / 0.6275 GB, free: 2.363 MB / 442.8 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches