Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",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.001777/0.001777, allocations: 107.2 kB / 16.92 MB, free: 5.785 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.002101/0.002101, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.013/1.013, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5302, allocations: 80.69 MB / 0.5698 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002483/0.5328, allocations: 1.407 MB / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.5337, allocations: 0.5695 MB / 0.5718 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.5337, allocations: 1.344 kB / 0.5718 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.5349, allocations: 1.721 MB / 0.5735 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.5361, allocations: 1.761 MB / 0.5752 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.5365, allocations: 80.66 kB / 0.5752 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003846/0.5403, allocations: 4.308 MB / 0.5795 GB, free: 37.94 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.5404, allocations: 7.781 kB / 0.5795 GB, free: 37.94 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004279/0.5447, allocations: 2.142 MB / 0.5816 GB, free: 36.91 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006362/0.5511, allocations: 4.059 MB / 0.5855 GB, free: 33.59 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.5524, allocations: 252 kB / 0.5858 GB, free: 33.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007873/0.5532, allocations: 327.9 kB / 0.5861 GB, free: 33.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.009362/0.5626, allocations: 9.954 MB / 0.5958 GB, free: 23.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01096/0.5736, allocations: 5.636 MB / 0.6013 GB, free: 17.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.5862, allocations: 12.18 MB / 0.6132 GB, free: 5.109 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.5863, allocations: 0 / 0.6132 GB, free: 5.109 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5863, allocations: 0 / 0.6132 GB, free: 5.109 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0005395/0.5868, allocations: 0 / 0.6132 GB, free: 5.109 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.03151/0.6183, allocations: 19.56 MB / 0.6323 GB, free: 1.32 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.6184, allocations: 11.89 kB / 0.6323 GB, free: 1.309 MB / 478.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.6185, allocations: 34.75 kB / 0.6323 GB, free: 1.266 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.622, allocations: 2.202 MB / 0.6345 GB, free: 15.03 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05917/0.6812, allocations: 25.83 MB / 0.6597 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.6813, allocations: 4.375 kB / 0.6597 GB, free: 5.004 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.6816, allocations: 64.38 kB / 0.6598 GB, free: 4.941 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.6831, allocations: 0.7823 MB / 0.6605 GB, free: 4.152 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6832, allocations: 3.984 kB / 0.6605 GB, free: 4.148 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.6833, allocations: 64 kB / 0.6606 GB, free: 4.086 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.6834, allocations: 0 / 0.6606 GB, free: 4.086 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.6841, allocations: 456 kB / 0.661 GB, free: 3.641 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.699, allocations: 7 MB / 0.6679 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009412/0.7, allocations: 294.5 kB / 0.6682 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006998/0.7007, allocations: 280.9 kB / 0.6684 GB, free: 12.02 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.7007, allocations: 0 / 0.6684 GB, free: 12.02 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.7018, allocations: 0.7034 MB / 0.6691 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.494e-06/0.7018, allocations: 7.875 kB / 0.6691 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006807/0.7087, allocations: 4.24 MB / 0.6733 GB, free: 7.004 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.7088, allocations: 81.11 kB / 0.6733 GB, free: 6.906 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05136/0.7602, allocations: 24.84 MB / 0.6976 GB, free: 14.27 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0004912/0.7607, allocations: 89.7 kB / 0.6977 GB, free: 14.18 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01436/0.7751, allocations: 10.82 MB / 0.7082 GB, free: 3.352 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006593/0.7758, allocations: 79.81 kB / 0.7083 GB, free: 3.273 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/0.7774, allocations: 461.7 kB / 0.7088 GB, free: 2.816 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7775, allocations: 306 kB / 0.7091 GB, free: 2.512 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007842/0.7783, allocations: 268 kB / 0.7093 GB, free: 2.25 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.7789, allocations: 268 kB / 0.7096 GB, free: 1.988 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.78, allocations: 0.5901 MB / 0.7101 GB, free: 1.383 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.78, allocations: 0 / 0.7101 GB, free: 1.383 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006212/0.7862, allocations: 3.974 MB / 0.714 GB, free: 13.37 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.7863, allocations: 37.69 kB / 0.7141 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.7864, allocations: 0 / 0.7141 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.7864, allocations: 0 / 0.7141 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.7865, allocations: 4 kB / 0.7141 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7865, allocations: 4 kB / 0.7141 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.7895, allocations: 75.84 kB / 0.7141 GB, free: 13.24 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009585/0.7905, allocations: 0.8555 MB / 0.715 GB, free: 12.39 MB / 0.5608 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.007969/0.7985, allocations: 4.92 MB / 0.7198 GB, free: 7.449 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004116/0.8026, allocations: 2.268 MB / 0.722 GB, free: 5.152 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006088/0.8087, allocations: 2.561 MB / 0.7245 GB, free: 2.582 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.8087, allocations: 96 / 0.7245 GB, free: 2.582 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.8088, allocations: 7.938 kB / 0.7245 GB, free: 2.574 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-06/0.8088, allocations: 0 / 0.7245 GB, free: 2.574 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/0.8283, allocations: 7.613 MB / 0.7319 GB, free: 10.91 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-06/0.8283, allocations: 3.938 kB / 0.7319 GB, free: 10.91 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.8284, allocations: 7.984 kB / 0.7319 GB, free: 10.9 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.8284, allocations: 7.938 kB / 0.732 GB, free: 10.89 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006744/0.8291, allocations: 192 kB / 0.7321 GB, free: 10.7 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.8291, allocations: 0 / 0.7321 GB, free: 10.7 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8291, allocations: 0 / 0.7321 GB, free: 10.7 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00804/0.8372, allocations: 4.158 MB / 0.7362 GB, free: 6.492 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004703/0.8419, allocations: 1.983 MB / 0.7381 GB, free: 4.461 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002049/0.844, allocations: 64 kB / 0.7382 GB, free: 4.398 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.8463, allocations: 64 kB / 0.7383 GB, free: 4.336 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.8463, allocations: 11.98 kB / 0.7383 GB, free: 4.324 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000831/0.8472, allocations: 0.8632 MB / 0.7391 GB, free: 3.461 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03318/0.8804, allocations: 17.23 MB / 0.7559 GB, free: 2.379 MB / 0.592 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8804, allocations: 0 / 0.7559 GB, free: 2.379 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003551/0.884, allocations: 0.6445 MB / 0.7566 GB, free: 1.734 MB / 0.592 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.5587/1.443, allocations: 4.942 MB / 0.7614 GB, free: 155 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.444, allocations: 0.6875 MB / 0.7621 GB, free: 154.9 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.444, allocations: 1.188 kB / 0.7621 GB, free: 154.9 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.0006467/1.445, allocations: 418.2 kB / 0.7625 GB, free: 154.8 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006753/1.452, allocations: 1.695 MB / 0.7641 GB, free: 153.8 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6622/2.114, allocations: 372.1 MB / 1.127 GB, free: 141.4 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01578/2.13, allocations: 8.909 MB / 1.136 GB, free: 132.5 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.01349/2.143, allocations: 4.706 MB / 1.141 GB, free: 128 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009482/2.153, allocations: 9.277 MB / 1.15 GB, free: 118.7 MB / 0.686 GB Notification: Performance of SimCode: time 1.974e-06/2.153, allocations: 1.125 kB / 1.15 GB, free: 118.7 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7851/2.938, allocations: 309.6 MB / 1.452 GB, free: 54.87 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.71/27.65, allocations: 0.9844 kB / 1.452 GB, free: 54.87 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_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_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches