Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 182.6 kB / 16.72 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.7 MB / 243.2 MB, free: 10.22 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007863/0.0007864, allocations: 99.3 kB / 294.4 MB, free: 9.746 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8512/0.8512, allocations: 120.5 MB / 465.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 8 kB / 0.5464 GB, free: 41.45 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 82.85 MB / 0.6273 GB, free: 7.898 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.001767/0.1865, allocations: 1.119 MB / 0.6284 GB, free: 6.77 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1877, allocations: 0.803 MB / 0.6292 GB, free: 5.906 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.1878, allocations: 0 / 0.6292 GB, free: 5.906 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.188, allocations: 115.8 kB / 0.6293 GB, free: 5.793 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1884, allocations: 159.7 kB / 0.6294 GB, free: 5.637 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1886, allocations: 59.88 kB / 0.6295 GB, free: 5.578 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.1889, allocations: 325.6 kB / 0.6298 GB, free: 5.258 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.189, allocations: 7.938 kB / 0.6298 GB, free: 5.25 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.1893, allocations: 169.7 kB / 0.63 GB, free: 5.086 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.1896, allocations: 271.6 kB / 0.6302 GB, free: 4.82 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.1897, allocations: 16 kB / 0.6302 GB, free: 4.805 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.1898, allocations: 83.94 kB / 0.6303 GB, free: 4.723 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000623/0.1905, allocations: 0.6293 MB / 0.6309 GB, free: 4.094 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.1908, allocations: 414 kB / 0.6313 GB, free: 3.68 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007002/0.1915, allocations: 0.8161 MB / 0.6321 GB, free: 2.859 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1915, allocations: 4 kB / 0.6321 GB, free: 2.855 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1915, allocations: 0 / 0.6321 GB, free: 2.855 MB / 442.8 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1915, allocations: 0 / 0.6321 GB, free: 2.855 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.001503/0.193, allocations: 1.411 MB / 0.6335 GB, free: 1.383 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/0.1931, allocations: 12.03 kB / 0.6335 GB, free: 1.371 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1933, allocations: 147 kB / 0.6337 GB, free: 1.227 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.1957, allocations: 1.753 MB / 0.6354 GB, free: 15.43 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1957, allocations: 384 / 0.6354 GB, free: 15.43 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1958, allocations: 8.375 kB / 0.6354 GB, free: 15.42 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1959, allocations: 101.9 kB / 0.6355 GB, free: 15.31 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.196, allocations: 0 / 0.6355 GB, free: 15.31 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.196, allocations: 4 kB / 0.6355 GB, free: 15.31 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.196, allocations: 11.94 kB / 0.6355 GB, free: 15.3 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.542e-05/0.1961, allocations: 40 kB / 0.6355 GB, free: 15.26 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.1966, allocations: 0.5813 MB / 0.6361 GB, free: 14.63 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1967, allocations: 58.5 kB / 0.6361 GB, free: 14.56 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.1968, allocations: 44.86 kB / 0.6362 GB, free: 14.52 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.1968, allocations: 0 / 0.6362 GB, free: 14.52 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.1971, allocations: 141 kB / 0.6363 GB, free: 14.36 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1971, allocations: 0 / 0.6363 GB, free: 14.36 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.0006082/0.1977, allocations: 401.5 kB / 0.6367 GB, free: 13.95 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.1978, allocations: 81.05 kB / 0.6368 GB, free: 13.86 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.1999, allocations: 1.632 MB / 0.6384 GB, free: 12.23 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2, allocations: 29.7 kB / 0.6384 GB, free: 12.19 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/0.2007, allocations: 0.6256 MB / 0.639 GB, free: 11.56 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.2007, allocations: 31.83 kB / 0.639 GB, free: 11.53 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.2007, allocations: 4 kB / 0.6391 GB, free: 11.53 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2009, allocations: 314 kB / 0.6393 GB, free: 11.21 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.201, allocations: 31.98 kB / 0.6394 GB, free: 11.18 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.201, allocations: 28 kB / 0.6394 GB, free: 11.16 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.2013, allocations: 136.2 kB / 0.6395 GB, free: 11.01 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2013, allocations: 0 / 0.6395 GB, free: 11.01 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004356/0.2017, allocations: 377.3 kB / 0.6399 GB, free: 10.62 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.2018, allocations: 41.69 kB / 0.6399 GB, free: 10.58 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2018, allocations: 0 / 0.6399 GB, free: 10.58 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2018, allocations: 0 / 0.6399 GB, free: 10.58 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.2019, allocations: 8 kB / 0.6399 GB, free: 10.57 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2019, allocations: 0 / 0.6399 GB, free: 10.57 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2021, allocations: 8 kB / 0.64 GB, free: 10.56 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.2021, allocations: 56 kB / 0.64 GB, free: 10.51 MB / 458.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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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.0004656/0.2026, allocations: 463.1 kB / 0.6404 GB, free: 10.04 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.2027, allocations: 158 kB / 0.6406 GB, free: 9.883 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.2029, allocations: 174.8 kB / 0.6408 GB, free: 9.703 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2029, allocations: 3.938 kB / 0.6408 GB, free: 9.699 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2029, allocations: 4 kB / 0.6408 GB, free: 9.695 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.203, allocations: 0 / 0.6408 GB, free: 9.695 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.2035, allocations: 0.6203 MB / 0.6414 GB, free: 9.027 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2035, allocations: 0 / 0.6414 GB, free: 9.027 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.2036, allocations: 7.938 kB / 0.6414 GB, free: 9.02 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2036, allocations: 96 / 0.6414 GB, free: 9.02 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2036, allocations: 19.94 kB / 0.6414 GB, free: 9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2036, allocations: 0 / 0.6414 GB, free: 9 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2036, allocations: 0 / 0.6414 GB, free: 9 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.2041, allocations: 433.6 kB / 0.6418 GB, free: 8.551 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.2044, allocations: 215.2 kB / 0.642 GB, free: 8.32 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.2044, allocations: 11.98 kB / 0.642 GB, free: 8.309 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2046, allocations: 8 kB / 0.642 GB, free: 8.301 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.2046, allocations: 0 / 0.642 GB, free: 8.301 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.2047, allocations: 60 kB / 0.6421 GB, free: 8.242 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001302/0.206, allocations: 1.131 MB / 0.6432 GB, free: 7.121 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.206, allocations: 3.938 kB / 0.6432 GB, free: 7.117 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002785/0.2063, allocations: 72 kB / 0.6433 GB, free: 7.047 MB / 458.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.0001903/0.2065, allocations: 135.2 kB / 0.6434 GB, free: 6.906 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.2068, allocations: 171.4 kB / 0.6436 GB, free: 6.727 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2068, allocations: 0 / 0.6436 GB, free: 6.727 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2069, allocations: 127.4 kB / 0.6437 GB, free: 6.59 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.2073, allocations: 122.3 kB / 0.6438 GB, free: 6.469 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.2101, allocations: 2.385 MB / 0.6461 GB, free: 4.051 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.2109, allocations: 1.18 MB / 0.6473 GB, free: 2.84 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0007028/0.2116, allocations: 293.6 kB / 0.6476 GB, free: 2.547 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.2117, allocations: 71.44 kB / 0.6476 GB, free: 2.477 MB / 458.8 MB Notification: Performance of SimCode: time 5.91e-07/0.2117, allocations: 0 / 0.6476 GB, free: 2.477 MB / 458.8 MB Notification: Performance of Templates: time 0.01401/0.2257, allocations: 5.601 MB / 0.6531 GB, free: 12.79 MB / 474.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches