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.001323/0.001323, allocations: 109 kB / 17.06 MB, free: 5.961 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.001402/0.001402, allocations: 200 kB / 18 MB, free: 5.051 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.422/1.422, 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 0.9279/0.9279, allocations: 119.3 MB / 411.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 70.59 kB / 0.5704 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 80.69 MB / 0.6492 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002399/0.1459, allocations: 1.417 MB / 0.6506 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.147, allocations: 0.5652 MB / 0.6512 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.1471, allocations: 4 kB / 0.6512 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.1474, allocations: 447.1 kB / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005028/0.148, allocations: 491 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1483, allocations: 87.72 kB / 0.6521 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000827/0.1491, allocations: 1.131 MB / 0.6532 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.1492, allocations: 8 kB / 0.6533 GB, free: 9.344 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.1498, allocations: 0.5576 MB / 0.6538 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009125/0.1507, allocations: 1.037 MB / 0.6548 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.1509, allocations: 64 kB / 0.6549 GB, free: 7.684 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.1511, allocations: 139.9 kB / 0.655 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00226/0.1534, allocations: 2.501 MB / 0.6574 GB, free: 5.039 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.1548, allocations: 1.423 MB / 0.6588 GB, free: 3.602 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.1575, allocations: 3.201 MB / 0.662 GB, free: 388 kB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1576, allocations: 0 / 0.662 GB, free: 388 kB / 0.4983 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1576, allocations: 0 / 0.662 GB, free: 388 kB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.393e-05/0.1577, allocations: 0 / 0.662 GB, free: 388 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.006245/0.1639, allocations: 5.388 MB / 0.6672 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.164, allocations: 11.89 kB / 0.6672 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.164, allocations: 30.75 kB / 0.6673 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/0.1647, allocations: 0.5868 MB / 0.6678 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.1754, allocations: 6.627 MB / 0.6743 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1755, allocations: 384 / 0.6743 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.1755, allocations: 24.31 kB / 0.6743 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.1759, allocations: 241.6 kB / 0.6746 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1759, allocations: 0 / 0.6746 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.1759, allocations: 20 kB / 0.6746 GB, free: 3.266 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.176, allocations: 0 / 0.6746 GB, free: 3.266 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.1762, allocations: 128 kB / 0.6747 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.1781, allocations: 1.858 MB / 0.6765 GB, free: 1.234 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1783, allocations: 110.5 kB / 0.6766 GB, free: 1.117 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1785, allocations: 88.86 kB / 0.6767 GB, free: 1.027 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1785, allocations: 0 / 0.6767 GB, free: 1.027 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.1788, allocations: 260.8 kB / 0.677 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.1788, allocations: 0 / 0.677 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001513/0.1804, allocations: 1.199 MB / 0.6781 GB, free: 15.54 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1804, allocations: 81.11 kB / 0.6782 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007124/0.1876, allocations: 6.275 MB / 0.6843 GB, free: 9.207 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 8.557e-05/0.1877, allocations: 45.7 kB / 0.6844 GB, free: 9.156 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002184/0.1899, allocations: 2.52 MB / 0.6868 GB, free: 6.633 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.19, allocations: 27.89 kB / 0.6869 GB, free: 6.605 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1902, allocations: 137.7 kB / 0.687 GB, free: 6.465 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.1903, allocations: 314 kB / 0.6873 GB, free: 6.152 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1905, allocations: 76 kB / 0.6874 GB, free: 6.078 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1906, allocations: 87.92 kB / 0.6875 GB, free: 5.992 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.1909, allocations: 220.3 kB / 0.6877 GB, free: 5.762 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.191, allocations: 0 / 0.6877 GB, free: 5.762 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001351/0.1923, allocations: 1.128 MB / 0.6888 GB, free: 4.621 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.1924, allocations: 33.7 kB / 0.6888 GB, free: 4.582 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1924, allocations: 0 / 0.6888 GB, free: 4.582 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1924, allocations: 8 kB / 0.6888 GB, free: 4.574 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.1925, allocations: 7.984 kB / 0.6888 GB, free: 4.566 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1925, allocations: 0 / 0.6888 GB, free: 4.566 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.193, allocations: 23.88 kB / 0.6888 GB, free: 4.543 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.1932, allocations: 224 kB / 0.689 GB, free: 4.324 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.001603/0.1948, allocations: 1.336 MB / 0.6904 GB, free: 2.973 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006277/0.1955, allocations: 0.6092 MB / 0.6909 GB, free: 2.359 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.1962, allocations: 0.648 MB / 0.6916 GB, free: 1.707 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1963, allocations: 4 kB / 0.6916 GB, free: 1.703 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1963, allocations: 144 / 0.6916 GB, free: 1.703 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1963, allocations: 3.984 kB / 0.6916 GB, free: 1.699 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.1984, allocations: 2.022 MB / 0.6936 GB, free: 15.62 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1984, allocations: 0 / 0.6936 GB, free: 15.62 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.1984, allocations: 7.984 kB / 0.6936 GB, free: 15.62 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1984, allocations: 0 / 0.6936 GB, free: 15.62 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/0.1985, allocations: 48 kB / 0.6936 GB, free: 15.57 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1985, allocations: 4 kB / 0.6936 GB, free: 15.57 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1985, allocations: 0 / 0.6936 GB, free: 15.57 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.1998, allocations: 1.21 MB / 0.6948 GB, free: 14.33 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.2009, allocations: 0.587 MB / 0.6954 GB, free: 13.72 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/0.2012, allocations: 23.94 kB / 0.6954 GB, free: 13.7 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.2017, allocations: 20 kB / 0.6954 GB, free: 13.68 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.2017, allocations: 11.92 kB / 0.6954 GB, free: 13.67 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/0.2019, allocations: 224 kB / 0.6956 GB, free: 13.45 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005479/0.2074, allocations: 4.321 MB / 0.6999 GB, free: 9.168 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2074, allocations: 0 / 0.6999 GB, free: 9.168 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0006841/0.2081, allocations: 191.9 kB / 0.7 GB, free: 8.98 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.001692/0.2098, allocations: 1.805 MB / 0.7018 GB, free: 7.141 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.2103, allocations: 279.3 kB / 0.7021 GB, free: 6.855 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2103, allocations: 0 / 0.7021 GB, free: 6.855 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.2106, allocations: 191.4 kB / 0.7023 GB, free: 6.656 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.2119, allocations: 453 kB / 0.7027 GB, free: 6.211 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0421/0.254, allocations: 32.8 MB / 0.7347 GB, free: 5.289 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/0.2565, allocations: 2.728 MB / 0.7374 GB, free: 2.535 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002203/0.2587, allocations: 1.137 MB / 0.7385 GB, free: 1.391 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/0.2605, allocations: 2.093 MB / 0.7405 GB, free: 15.29 MB / 0.592 GB Notification: Performance of SimCode: time 8.72e-07/0.2605, allocations: 0 / 0.7405 GB, free: 15.29 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.613/0.8735, allocations: 79.21 MB / 0.8179 GB, free: 80 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.67/25.54, allocations: 6.297 kB / 0.8179 GB, free: 80 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