Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001558/0.001558, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9403/0.9403, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 71.58 kB / 0.5704 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1589, allocations: 80.69 MB / 0.6492 GB, free: 13.54 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002544/0.1615, allocations: 1.417 MB / 0.6506 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1626, allocations: 0.5613 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.1626, allocations: 0 / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.1631, allocations: 451.1 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005601/0.1637, allocations: 498.9 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.164, allocations: 79.78 kB / 0.6521 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.165, allocations: 1.123 MB / 0.6532 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.165, allocations: 11.92 kB / 0.6533 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.1656, allocations: 0.5576 MB / 0.6538 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.1666, allocations: 1.033 MB / 0.6548 GB, free: 7.812 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.1668, allocations: 64 kB / 0.6549 GB, free: 7.75 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.1671, allocations: 147.9 kB / 0.655 GB, free: 7.605 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.1698, allocations: 2.494 MB / 0.6574 GB, free: 5.105 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.1711, allocations: 1.423 MB / 0.6588 GB, free: 3.668 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.174, allocations: 3.205 MB / 0.662 GB, free: 452 kB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.174, allocations: 0 / 0.662 GB, free: 452 kB / 0.4983 GB Notification: Performance of FrontEnd: time 1.593e-06/0.174, allocations: 4 kB / 0.662 GB, free: 448 kB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.241e-05/0.1741, allocations: 0 / 0.662 GB, free: 448 kB / 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.006091/0.1802, allocations: 5.384 MB / 0.6672 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1802, allocations: 15.89 kB / 0.6672 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.1803, allocations: 30.75 kB / 0.6673 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007088/0.181, allocations: 0.5829 MB / 0.6678 GB, free: 10.31 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.1915, allocations: 6.631 MB / 0.6743 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1915, allocations: 4.312 kB / 0.6743 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.1916, allocations: 20.38 kB / 0.6743 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.192, allocations: 241.6 kB / 0.6746 GB, free: 3.344 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.192, allocations: 0 / 0.6746 GB, free: 3.344 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.192, allocations: 16 kB / 0.6746 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.192, allocations: 0 / 0.6746 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.1923, allocations: 132 kB / 0.6747 GB, free: 3.199 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.1947, allocations: 1.858 MB / 0.6765 GB, free: 1.293 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1949, allocations: 106.5 kB / 0.6766 GB, free: 1.18 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1951, allocations: 92.86 kB / 0.6767 GB, free: 1.086 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1951, allocations: 3.984 kB / 0.6767 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.1955, allocations: 256.9 kB / 0.677 GB, free: 0.8125 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.1955, allocations: 0 / 0.677 GB, free: 0.8125 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001784/0.1973, allocations: 1.203 MB / 0.6781 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.1974, allocations: 85.11 kB / 0.6782 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008238/0.2056, allocations: 6.275 MB / 0.6843 GB, free: 9.262 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.2058, allocations: 45.7 kB / 0.6844 GB, free: 9.211 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002508/0.2083, allocations: 2.52 MB / 0.6868 GB, free: 6.688 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.2084, allocations: 31.91 kB / 0.6869 GB, free: 6.656 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.2086, allocations: 133.7 kB / 0.687 GB, free: 6.52 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2088, allocations: 310 kB / 0.6873 GB, free: 6.211 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2089, allocations: 76 kB / 0.6874 GB, free: 6.137 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.2091, allocations: 79.98 kB / 0.6875 GB, free: 6.059 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.2095, allocations: 232.3 kB / 0.6877 GB, free: 5.816 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2095, allocations: 4 kB / 0.6877 GB, free: 5.812 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001691/0.2112, allocations: 1.12 MB / 0.6888 GB, free: 4.676 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.2112, allocations: 40.81 kB / 0.6888 GB, free: 4.633 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2112, allocations: 0 / 0.6888 GB, free: 4.633 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2113, allocations: 0 / 0.6888 GB, free: 4.633 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.2114, allocations: 4 kB / 0.6888 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2114, allocations: 0 / 0.6888 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.2118, allocations: 27.88 kB / 0.6888 GB, free: 4.602 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.2121, allocations: 224 kB / 0.6891 GB, free: 4.383 MB / 0.5295 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.001812/0.2139, allocations: 1.34 MB / 0.6904 GB, free: 3.027 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006353/0.2145, allocations: 0.6091 MB / 0.691 GB, free: 2.414 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008564/0.2154, allocations: 0.6441 MB / 0.6916 GB, free: 1.766 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.2154, allocations: 4 kB / 0.6916 GB, free: 1.762 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2154, allocations: 0 / 0.6916 GB, free: 1.762 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2154, allocations: 3.984 kB / 0.6916 GB, free: 1.758 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.2175, allocations: 2.018 MB / 0.6936 GB, free: 15.69 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2176, allocations: 3.938 kB / 0.6936 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.2176, allocations: 4 kB / 0.6936 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2176, allocations: 0 / 0.6936 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/0.2177, allocations: 48 kB / 0.6936 GB, free: 15.63 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2177, allocations: 4 kB / 0.6936 GB, free: 15.63 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2177, allocations: 4 kB / 0.6936 GB, free: 15.62 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.2191, allocations: 1.207 MB / 0.6948 GB, free: 14.39 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/0.2199, allocations: 0.5908 MB / 0.6954 GB, free: 13.78 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.2201, allocations: 23.98 kB / 0.6954 GB, free: 13.76 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.2205, allocations: 16 kB / 0.6954 GB, free: 13.74 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.2205, allocations: 4 kB / 0.6954 GB, free: 13.74 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/0.2207, allocations: 224 kB / 0.6956 GB, free: 13.52 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005917/0.2266, allocations: 4.332 MB / 0.6999 GB, free: 9.227 MB / 0.5452 GB Notification: Performance of sort global known variables: time 6.72e-07/0.2267, allocations: 0 / 0.6999 GB, free: 9.227 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0007513/0.2274, allocations: 191.9 kB / 0.7 GB, free: 9.039 MB / 0.5452 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.001943/0.2294, allocations: 1.805 MB / 0.7018 GB, free: 7.199 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.00048/0.2299, allocations: 291.2 kB / 0.7021 GB, free: 6.902 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2299, allocations: 0 / 0.7021 GB, free: 6.902 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.2301, allocations: 187.3 kB / 0.7023 GB, free: 6.707 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.2314, allocations: 445.1 kB / 0.7027 GB, free: 6.27 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04863/0.28, allocations: 32.81 MB / 0.7347 GB, free: 5.34 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/0.2829, allocations: 2.728 MB / 0.7374 GB, free: 2.586 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002446/0.2854, allocations: 1.137 MB / 0.7385 GB, free: 1.441 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002241/0.2876, allocations: 2.089 MB / 0.7405 GB, free: 15.35 MB / 0.592 GB Notification: Performance of SimCode: time 1.032e-06/0.2877, allocations: 0 / 0.7405 GB, free: 15.35 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6119/0.8995, allocations: 79.2 MB / 0.8179 GB, free: 79.57 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.05/23.95, allocations: 9.859 kB / 0.8179 GB, free: 79.56 MB / 0.6079 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches