Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",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.001564/0.001564, 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.001725/0.001725, 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.471/1.471, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.184/1.184, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.88 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5562, allocations: 80.68 MB / 0.5698 GB, free: 43.31 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002612/0.5589, allocations: 1.407 MB / 0.5712 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000806/0.5597, allocations: 0.5648 MB / 0.5718 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.5598, allocations: 1.75 kB / 0.5718 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.5604, allocations: 0.8647 MB / 0.5726 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0008257/0.5613, allocations: 0.9178 MB / 0.5735 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.5617, allocations: 76.8 kB / 0.5736 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.5638, allocations: 2.182 MB / 0.5757 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.5639, allocations: 10.78 kB / 0.5757 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.5656, allocations: 1.086 MB / 0.5768 GB, free: 39.22 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.5686, allocations: 2.044 MB / 0.5788 GB, free: 38.44 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0005932/0.5692, allocations: 128.2 kB / 0.5789 GB, free: 38.44 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000506/0.5697, allocations: 204.7 kB / 0.5791 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00523/0.575, allocations: 4.985 MB / 0.584 GB, free: 35.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.003016/0.578, allocations: 2.828 MB / 0.5867 GB, free: 32.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.5824, allocations: 6.132 MB / 0.5927 GB, free: 26.16 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.5825, allocations: 0 / 0.5927 GB, free: 26.16 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5825, allocations: 0 / 0.5927 GB, free: 26.16 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001976/0.5827, allocations: 0 / 0.5927 GB, free: 26.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009047/0.5917, allocations: 9.963 MB / 0.6024 GB, free: 16.06 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5918, allocations: 15.89 kB / 0.6025 GB, free: 16.04 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.5918, allocations: 30.75 kB / 0.6025 GB, free: 16 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009183/0.5928, allocations: 1.107 MB / 0.6036 GB, free: 14.88 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01771/0.6105, allocations: 12.95 MB / 0.6162 GB, free: 1.805 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.6106, allocations: 384 / 0.6162 GB, free: 1.805 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.6106, allocations: 32.38 kB / 0.6163 GB, free: 1.773 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.6111, allocations: 437.4 kB / 0.6167 GB, free: 1.34 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.6111, allocations: 0 / 0.6167 GB, free: 1.34 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.6112, allocations: 36 kB / 0.6167 GB, free: 1.305 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6112, allocations: 4 kB / 0.6167 GB, free: 1.301 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.6115, allocations: 236 kB / 0.6169 GB, free: 1.07 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.616, allocations: 3.576 MB / 0.6204 GB, free: 13.45 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.6164, allocations: 166.5 kB / 0.6206 GB, free: 13.27 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.6167, allocations: 156.8 kB / 0.6207 GB, free: 13.12 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.6167, allocations: 3.938 kB / 0.6207 GB, free: 13.11 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.6172, allocations: 412.7 kB / 0.6211 GB, free: 12.69 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 2.274e-06/0.6173, allocations: 0 / 0.6211 GB, free: 12.69 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.003245/0.6205, allocations: 2.192 MB / 0.6233 GB, free: 10.47 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.6206, allocations: 77.11 kB / 0.6233 GB, free: 10.38 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01764/0.6382, allocations: 12.46 MB / 0.6355 GB, free: 14.02 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.6384, allocations: 61.64 kB / 0.6356 GB, free: 13.95 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005551/0.644, allocations: 5.212 MB / 0.6407 GB, free: 8.734 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.6443, allocations: 51.73 kB / 0.6407 GB, free: 8.688 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/0.6446, allocations: 241.7 kB / 0.6409 GB, free: 8.445 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6447, allocations: 310 kB / 0.6412 GB, free: 8.137 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.645, allocations: 144 kB / 0.6414 GB, free: 7.996 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.6452, allocations: 143.9 kB / 0.6415 GB, free: 7.855 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.6458, allocations: 356.2 kB / 0.6419 GB, free: 7.492 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6458, allocations: 0 / 0.6419 GB, free: 7.492 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002716/0.6485, allocations: 2.051 MB / 0.6439 GB, free: 5.414 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.6486, allocations: 40.66 kB / 0.6439 GB, free: 5.371 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.6486, allocations: 4 kB / 0.6439 GB, free: 5.367 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6486, allocations: 0 / 0.6439 GB, free: 5.367 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.6487, allocations: 4 kB / 0.6439 GB, free: 5.363 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.6487, allocations: 0 / 0.6439 GB, free: 5.363 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.6499, allocations: 39.91 kB / 0.6439 GB, free: 5.324 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/0.6503, allocations: 444 kB / 0.6444 GB, free: 4.891 MB / 494.3 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 (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.003919/0.6542, allocations: 2.521 MB / 0.6468 GB, free: 2.352 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/0.6559, allocations: 1.138 MB / 0.6479 GB, free: 1.199 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.6584, allocations: 1.284 MB / 0.6492 GB, free: 15.91 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.6584, allocations: 0 / 0.6492 GB, free: 15.91 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.6584, allocations: 3.984 kB / 0.6492 GB, free: 15.9 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6584, allocations: 0 / 0.6492 GB, free: 15.9 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.664, allocations: 3.888 MB / 0.653 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6641, allocations: 7.938 kB / 0.653 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.6642, allocations: 7.938 kB / 0.653 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.6642, allocations: 0 / 0.653 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/0.6645, allocations: 96 kB / 0.6531 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6645, allocations: 0 / 0.6531 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6645, allocations: 0 / 0.6531 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.6674, allocations: 2.166 MB / 0.6552 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/0.6692, allocations: 1.037 MB / 0.6562 GB, free: 8.586 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006111/0.6698, allocations: 43.94 kB / 0.6563 GB, free: 8.543 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.6705, allocations: 40 kB / 0.6563 GB, free: 8.504 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.6706, allocations: 0 / 0.6563 GB, free: 8.504 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003652/0.671, allocations: 444 kB / 0.6567 GB, free: 8.07 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01292/0.6839, allocations: 8.567 MB / 0.6651 GB, free: 15.58 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6839, allocations: 0 / 0.6651 GB, free: 15.58 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001362/0.6853, allocations: 344 kB / 0.6654 GB, free: 15.24 MB / 0.5139 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.002988/0.6883, allocations: 2.818 MB / 0.6682 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0006973/0.689, allocations: 423.4 kB / 0.6686 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.689, allocations: 0 / 0.6686 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.6894, allocations: 263.3 kB / 0.6688 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.6921, allocations: 0.8536 MB / 0.6697 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5903/1.282, allocations: 124.9 MB / 0.7916 GB, free: 170.7 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004229/1.287, allocations: 4.79 MB / 0.7963 GB, free: 166.7 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.00562/1.292, allocations: 2.431 MB / 0.7987 GB, free: 164.4 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00352/1.296, allocations: 4.398 MB / 0.803 GB, free: 160 MB / 0.6079 GB Notification: Performance of SimCode: time 1.212e-06/1.296, allocations: 3.5 kB / 0.803 GB, free: 160 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2185/1.514, allocations: 155.2 MB / 0.9546 GB, free: 5.023 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/16.42, allocations: 8.062 kB / 0.9546 GB, free: 5.016 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_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_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches