Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_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.001557/0.001557, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001977/0.001977, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.482/1.482, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.08/1.08, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6171/0.6184, allocations: 80.68 MB / 0.5698 GB, free: 43.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002962/0.6214, allocations: 1.581 MB / 0.5714 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.6227, allocations: 0.8851 MB / 0.5723 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.6228, allocations: 1.375 kB / 0.5723 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009491/0.6237, allocations: 0.8991 MB / 0.5731 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006788/0.6244, allocations: 0.5281 MB / 0.5736 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.6247, allocations: 101.6 kB / 0.5737 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.6258, allocations: 1.161 MB / 0.5749 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.6258, allocations: 4.656 kB / 0.5749 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.6265, allocations: 0.5838 MB / 0.5755 GB, free: 39.7 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.6276, allocations: 1.045 MB / 0.5765 GB, free: 39.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.6278, allocations: 65.03 kB / 0.5765 GB, free: 39.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.6281, allocations: 94.95 kB / 0.5766 GB, free: 39.28 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002989/0.6311, allocations: 2.508 MB / 0.5791 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.6321, allocations: 1.429 MB / 0.5805 GB, free: 36.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.635, allocations: 3.117 MB / 0.5835 GB, free: 34.85 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6351, allocations: 1 kB / 0.5835 GB, free: 34.85 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6351, allocations: 0 / 0.5835 GB, free: 34.85 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.175e-05/0.6351, allocations: 0 / 0.5835 GB, free: 34.85 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.006195/0.6413, allocations: 5.172 MB / 0.5886 GB, free: 30.34 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.6414, allocations: 15.89 kB / 0.5886 GB, free: 30.32 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.6415, allocations: 38.67 kB / 0.5886 GB, free: 30.28 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005383/0.642, allocations: 0.556 MB / 0.5892 GB, free: 29.71 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00833/0.6503, allocations: 6.555 MB / 0.5956 GB, free: 23.08 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.6504, allocations: 4.375 kB / 0.5956 GB, free: 23.07 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.6504, allocations: 3.938 kB / 0.5956 GB, free: 23.07 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.6506, allocations: 53.67 kB / 0.5956 GB, free: 23.01 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.6506, allocations: 0 / 0.5956 GB, free: 23.01 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.6506, allocations: 3.984 kB / 0.5956 GB, free: 23.01 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.6507, allocations: 0 / 0.5956 GB, free: 23.01 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.6507, allocations: 15.98 kB / 0.5956 GB, free: 22.99 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.6524, allocations: 1.859 MB / 0.5975 GB, free: 21.09 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.6526, allocations: 58.56 kB / 0.5975 GB, free: 21.02 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.6526, allocations: 20.84 kB / 0.5975 GB, free: 21 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.6527, allocations: 4 kB / 0.5975 GB, free: 20.99 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.6529, allocations: 59.39 kB / 0.5976 GB, free: 20.92 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.933e-06/0.6529, allocations: 0 / 0.5976 GB, free: 20.92 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0007085/0.6536, allocations: 0.6621 MB / 0.5982 GB, free: 20.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6537, allocations: 51.41 kB / 0.5983 GB, free: 20.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006243/0.6599, allocations: 6.442 MB / 0.6046 GB, free: 13.79 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.66, allocations: 25.7 kB / 0.6046 GB, free: 13.75 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.00187/0.6619, allocations: 2.665 MB / 0.6072 GB, free: 11.09 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.6619, allocations: 11.81 kB / 0.6072 GB, free: 11.07 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.662, allocations: 21.7 kB / 0.6072 GB, free: 11.05 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.6621, allocations: 314 kB / 0.6075 GB, free: 10.73 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/0.6622, allocations: 12.25 kB / 0.6075 GB, free: 10.72 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.6623, allocations: 33.69 kB / 0.6076 GB, free: 10.68 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.616e-05/0.6624, allocations: 53.58 kB / 0.6076 GB, free: 10.62 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.6624, allocations: 3.938 kB / 0.6076 GB, free: 10.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008717/0.6633, allocations: 0.6388 MB / 0.6083 GB, free: 9.969 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.6633, allocations: 10.84 kB / 0.6083 GB, free: 9.961 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6633, allocations: 3.938 kB / 0.6083 GB, free: 9.957 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.6633, allocations: 4 kB / 0.6083 GB, free: 9.953 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.6634, allocations: 11.98 kB / 0.6083 GB, free: 9.941 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.6634, allocations: 0 / 0.6083 GB, free: 9.941 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.6639, allocations: 20 kB / 0.6083 GB, free: 9.922 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.6639, allocations: 0 / 0.6083 GB, free: 9.922 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.002073/0.666, allocations: 1.282 MB / 0.6096 GB, free: 8.629 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005633/0.6666, allocations: 0.5902 MB / 0.6101 GB, free: 8.031 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009876/0.6676, allocations: 0.6559 MB / 0.6108 GB, free: 7.375 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6676, allocations: 0 / 0.6108 GB, free: 7.375 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6676, allocations: 0 / 0.6108 GB, free: 7.375 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6676, allocations: 0 / 0.6108 GB, free: 7.375 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.6692, allocations: 2.031 MB / 0.6128 GB, free: 5.297 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6693, allocations: 0 / 0.6128 GB, free: 5.297 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.6693, allocations: 4 kB / 0.6128 GB, free: 5.293 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6693, allocations: 0 / 0.6128 GB, free: 5.293 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.6693, allocations: 4 kB / 0.6128 GB, free: 5.289 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6693, allocations: 3.938 kB / 0.6128 GB, free: 5.285 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6693, allocations: 0 / 0.6128 GB, free: 5.285 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.67, allocations: 0.7252 MB / 0.6135 GB, free: 4.535 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.6705, allocations: 0.5209 MB / 0.614 GB, free: 3.988 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.6707, allocations: 16 kB / 0.614 GB, free: 3.973 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.671, allocations: 16 kB / 0.614 GB, free: 3.957 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.671, allocations: 4 kB / 0.614 GB, free: 3.953 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.6711, allocations: 0 / 0.614 GB, free: 3.953 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005627/0.6767, allocations: 4.42 MB / 0.6183 GB, free: 15.57 MB / 478.3 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6767, allocations: 8 kB / 0.6183 GB, free: 15.56 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0009462/0.6777, allocations: 168 kB / 0.6185 GB, free: 15.4 MB / 478.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002126/0.6798, allocations: 1.601 MB / 0.6201 GB, free: 13.93 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.6801, allocations: 51.91 kB / 0.6201 GB, free: 13.88 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6801, allocations: 0 / 0.6201 GB, free: 13.88 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.6801, allocations: 16 kB / 0.6201 GB, free: 13.86 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.6816, allocations: 465.1 kB / 0.6206 GB, free: 13.41 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07895/0.7606, allocations: 47.29 MB / 0.6668 GB, free: 10.77 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004145/0.7648, allocations: 2.729 MB / 0.6694 GB, free: 8.02 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.004611/0.7694, allocations: 1.383 MB / 0.6708 GB, free: 6.629 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003648/0.7731, allocations: 2.381 MB / 0.6731 GB, free: 4.246 MB / 0.5139 GB Notification: Performance of SimCode: time 2.264e-06/0.7731, allocations: 0 / 0.6731 GB, free: 4.246 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/0.9332, allocations: 73.59 MB / 0.745 GB, free: 10.73 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.77, allocations: 5.125 kB / 0.745 GB, free: 10.72 MB / 0.592 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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_CombiTimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches