Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 183.2 kB / 16.71 MB, free: 4.969 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.364/1.364, allocations: 225.7 MB / 243.2 MB, free: 8.5 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.000887/0.0008869, allocations: 95.94 kB / 294.4 MB, free: 9.492 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.8038/0.8038, allocations: 120.5 MB / 465.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003076, allocations: 11.94 kB / 0.5464 GB, free: 41.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 82.85 MB / 0.6273 GB, free: 7.863 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001509/0.1485, allocations: 1.123 MB / 0.6284 GB, free: 6.73 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1496, allocations: 0.7914 MB / 0.6292 GB, free: 5.879 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.1497, allocations: 4 kB / 0.6292 GB, free: 5.875 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.1501, allocations: 447.1 kB / 0.6296 GB, free: 5.438 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004574/0.1506, allocations: 487 kB / 0.63 GB, free: 4.961 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1508, allocations: 59.88 kB / 0.6301 GB, free: 4.902 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008339/0.1517, allocations: 1.116 MB / 0.6312 GB, free: 3.785 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.1517, allocations: 4 kB / 0.6312 GB, free: 3.781 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.1522, allocations: 0.5615 MB / 0.6317 GB, free: 3.219 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008214/0.153, allocations: 0.9749 MB / 0.6327 GB, free: 2.242 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.1532, allocations: 64 kB / 0.6328 GB, free: 2.18 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.1534, allocations: 127.9 kB / 0.6329 GB, free: 2.055 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003142/0.1566, allocations: 2.494 MB / 0.6353 GB, free: 15.55 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.1582, allocations: 1.445 MB / 0.6367 GB, free: 14.09 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.1605, allocations: 3.038 MB / 0.6397 GB, free: 11.04 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.1605, allocations: 4 kB / 0.6397 GB, free: 11.03 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1605, allocations: 0 / 0.6397 GB, free: 11.03 MB / 458.8 MB Notification: Performance of Transformations before backend: time 3.174e-05/0.1605, allocations: 0 / 0.6397 GB, free: 11.03 MB / 458.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.004496/0.165, allocations: 4.571 MB / 0.6442 GB, free: 6.371 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1651, allocations: 16.02 kB / 0.6442 GB, free: 6.355 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005331/0.1656, allocations: 0.556 MB / 0.6447 GB, free: 5.793 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008602/0.1743, allocations: 6.527 MB / 0.6511 GB, free: 15.18 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1743, allocations: 4.375 kB / 0.6511 GB, free: 15.18 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.1744, allocations: 20.38 kB / 0.6511 GB, free: 15.16 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.1747, allocations: 237.8 kB / 0.6513 GB, free: 14.92 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1747, allocations: 0 / 0.6513 GB, free: 14.92 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.1748, allocations: 16 kB / 0.6514 GB, free: 14.91 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1748, allocations: 0 / 0.6514 GB, free: 14.91 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.175, allocations: 136 kB / 0.6515 GB, free: 14.77 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.177, allocations: 1.862 MB / 0.6533 GB, free: 12.86 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1772, allocations: 106.5 kB / 0.6534 GB, free: 12.75 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1774, allocations: 92.86 kB / 0.6535 GB, free: 12.66 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.1774, allocations: 4 kB / 0.6535 GB, free: 12.65 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/0.1777, allocations: 256.9 kB / 0.6537 GB, free: 12.38 MB / 474.8 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.1778, allocations: 0 / 0.6537 GB, free: 12.38 MB / 474.8 MB Notification: Performance of matching and sorting (n=8): time 0.001368/0.1791, allocations: 1.168 MB / 0.6549 GB, free: 11.2 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1792, allocations: 81.11 kB / 0.655 GB, free: 11.1 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006248/0.1854, allocations: 6.221 MB / 0.661 GB, free: 4.922 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.1855, allocations: 49.64 kB / 0.6611 GB, free: 4.867 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002115/0.1877, allocations: 2.52 MB / 0.6635 GB, free: 2.344 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.1877, allocations: 31.81 kB / 0.6636 GB, free: 2.312 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1878, allocations: 16 kB / 0.6636 GB, free: 2.297 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1879, allocations: 306 kB / 0.6639 GB, free: 1.992 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.188, allocations: 83.98 kB / 0.664 GB, free: 1.91 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1882, allocations: 75.94 kB / 0.664 GB, free: 1.836 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.1885, allocations: 228.2 kB / 0.6643 GB, free: 1.598 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1885, allocations: 0 / 0.6643 GB, free: 1.598 MB / 474.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001747/0.1902, allocations: 1.097 MB / 0.6653 GB, free: 492 kB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.1903, allocations: 33.7 kB / 0.6654 GB, free: 452 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1903, allocations: 0 / 0.6654 GB, free: 452 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1903, allocations: 0 / 0.6654 GB, free: 452 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.1904, allocations: 4 kB / 0.6654 GB, free: 448 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1904, allocations: 0 / 0.6654 GB, free: 448 kB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.1911, allocations: 23.98 kB / 0.6654 GB, free: 424 kB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/0.1914, allocations: 224.2 kB / 0.6656 GB, free: 200 kB / 474.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.001798/0.1932, allocations: 1.346 MB / 0.6669 GB, free: 14.83 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000494/0.1937, allocations: 0.5824 MB / 0.6675 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.1943, allocations: 0.6441 MB / 0.6681 GB, free: 13.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1943, allocations: 0 / 0.6681 GB, free: 13.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1943, allocations: 0 / 0.6681 GB, free: 13.59 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1943, allocations: 0 / 0.6681 GB, free: 13.59 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.1961, allocations: 2.022 MB / 0.6701 GB, free: 11.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1961, allocations: 96 / 0.6701 GB, free: 11.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.1962, allocations: 11.88 kB / 0.6701 GB, free: 11.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1962, allocations: 3.984 kB / 0.6701 GB, free: 11.5 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.1962, allocations: 52 kB / 0.6701 GB, free: 11.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1962, allocations: 4 kB / 0.6702 GB, free: 11.45 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1962, allocations: 4 kB / 0.6702 GB, free: 11.45 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.1974, allocations: 1.168 MB / 0.6713 GB, free: 10.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.198, allocations: 0.564 MB / 0.6718 GB, free: 9.656 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.1983, allocations: 20 kB / 0.6719 GB, free: 9.637 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.1986, allocations: 16 kB / 0.6719 GB, free: 9.621 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1986, allocations: 11.92 kB / 0.6719 GB, free: 9.609 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.1988, allocations: 220 kB / 0.6721 GB, free: 9.395 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005175/0.204, allocations: 4.274 MB / 0.6763 GB, free: 5.16 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.204, allocations: 0 / 0.6763 GB, free: 5.16 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005886/0.2046, allocations: 188 kB / 0.6765 GB, free: 4.977 MB / 490.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.0002388/0.2049, allocations: 143.2 kB / 0.6766 GB, free: 4.828 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.2053, allocations: 275.4 kB / 0.6769 GB, free: 4.547 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2053, allocations: 0 / 0.6769 GB, free: 4.547 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.2056, allocations: 187.4 kB / 0.677 GB, free: 4.352 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.2066, allocations: 441.1 kB / 0.6775 GB, free: 3.918 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.217, allocations: 9.494 MB / 0.6867 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.2193, allocations: 2.725 MB / 0.6894 GB, free: 7.637 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002678/0.222, allocations: 1.137 MB / 0.6905 GB, free: 6.492 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.2223, allocations: 259.4 kB / 0.6907 GB, free: 6.238 MB / 0.4949 GB Notification: Performance of SimCode: time 8.11e-07/0.2223, allocations: 0 / 0.6907 GB, free: 6.238 MB / 0.4949 GB Notification: Performance of Templates: time 0.5391/0.7614, allocations: 20.28 MB / 0.7106 GB, free: 66.11 MB / 0.495 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches