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.00117/0.001171, allocations: 111.9 kB / 17.06 MB, free: 5.996 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.001075/0.001075, allocations: 200 kB / 18 MB, free: 5.078 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9217/0.9217, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 62.89 kB / 0.5704 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 80.71 MB / 0.6492 GB, free: 13.54 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.003054/0.1466, allocations: 1.406 MB / 0.6506 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1478, allocations: 0.573 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.1479, allocations: 0 / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006695/0.1486, allocations: 0.8615 MB / 0.652 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0008602/0.1495, allocations: 0.9043 MB / 0.6529 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.1498, allocations: 87.72 kB / 0.653 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001887/0.1517, allocations: 2.188 MB / 0.6551 GB, free: 7.5 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.1518, allocations: 4 kB / 0.6551 GB, free: 7.496 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.1533, allocations: 1.092 MB / 0.6562 GB, free: 6.402 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.1555, allocations: 2.036 MB / 0.6582 GB, free: 4.363 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0003841/0.1558, allocations: 128 kB / 0.6583 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.1563, allocations: 203.9 kB / 0.6585 GB, free: 4.039 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.005149/0.1615, allocations: 4.987 MB / 0.6634 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.004085/0.1656, allocations: 2.828 MB / 0.6661 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.006578/0.1722, allocations: 6.251 MB / 0.6722 GB, free: 5.902 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.1722, allocations: 0 / 0.6722 GB, free: 5.902 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.196e-06/0.1722, allocations: 3.938 kB / 0.6722 GB, free: 5.898 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0003312/0.1726, allocations: 0 / 0.6722 GB, free: 5.898 MB / 0.5139 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.01538/0.188, allocations: 9.97 MB / 0.682 GB, free: 11.79 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.188, allocations: 11.89 kB / 0.682 GB, free: 11.78 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.1881, allocations: 34.75 kB / 0.682 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.1899, allocations: 1.107 MB / 0.6831 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02628/0.2162, allocations: 12.95 MB / 0.6957 GB, free: 13.54 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2163, allocations: 384 / 0.6957 GB, free: 13.54 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.2165, allocations: 32.38 kB / 0.6958 GB, free: 13.51 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.2172, allocations: 425.4 kB / 0.6962 GB, free: 13.09 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2173, allocations: 7.984 kB / 0.6962 GB, free: 13.08 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/0.2174, allocations: 32 kB / 0.6962 GB, free: 13.05 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2174, allocations: 4 kB / 0.6962 GB, free: 13.04 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.2178, allocations: 239.9 kB / 0.6964 GB, free: 12.81 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006739/0.2245, allocations: 3.583 MB / 0.6999 GB, free: 9.18 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.225, allocations: 158.6 kB / 0.7001 GB, free: 9.016 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.2253, allocations: 160.9 kB / 0.7002 GB, free: 8.855 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2253, allocations: 4 kB / 0.7002 GB, free: 8.852 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000538/0.2259, allocations: 404.7 kB / 0.7006 GB, free: 8.438 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 5.841e-06/0.2259, allocations: 0 / 0.7006 GB, free: 8.438 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003659/0.2296, allocations: 2.192 MB / 0.7028 GB, free: 6.219 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.2297, allocations: 81.11 kB / 0.7028 GB, free: 6.121 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02059/0.2503, allocations: 12.46 MB / 0.715 GB, free: 9.758 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.2505, allocations: 61.64 kB / 0.7151 GB, free: 9.691 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.005023/0.2555, allocations: 5.204 MB / 0.7202 GB, free: 4.484 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.2558, allocations: 63.84 kB / 0.7202 GB, free: 4.422 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.256, allocations: 237.7 kB / 0.7204 GB, free: 4.184 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.2562, allocations: 306 kB / 0.7207 GB, free: 3.879 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.2564, allocations: 148 kB / 0.7209 GB, free: 3.734 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2566, allocations: 136 kB / 0.721 GB, free: 3.602 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.2571, allocations: 360.2 kB / 0.7214 GB, free: 3.234 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2571, allocations: 4 kB / 0.7214 GB, free: 3.23 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002621/0.2598, allocations: 2.047 MB / 0.7234 GB, free: 1.156 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.2598, allocations: 37.69 kB / 0.7234 GB, free: 1.113 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2598, allocations: 3.938 kB / 0.7234 GB, free: 1.109 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2599, allocations: 4 kB / 0.7234 GB, free: 1.105 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.2599, allocations: 8 kB / 0.7234 GB, free: 1.098 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.26, allocations: 0 / 0.7234 GB, free: 1.098 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/0.2609, allocations: 39.92 kB / 0.7234 GB, free: 1.059 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/0.2612, allocations: 440 kB / 0.7239 GB, free: 0.6289 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.003106/0.2643, allocations: 2.526 MB / 0.7263 GB, free: 14.09 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/0.2655, allocations: 1.141 MB / 0.7274 GB, free: 12.93 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.2669, allocations: 1.288 MB / 0.7287 GB, free: 11.64 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2669, allocations: 0 / 0.7287 GB, free: 11.64 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2669, allocations: 0 / 0.7287 GB, free: 11.64 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2669, allocations: 0 / 0.7287 GB, free: 11.64 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/0.2705, allocations: 3.884 MB / 0.7325 GB, free: 7.707 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.2705, allocations: 3.938 kB / 0.7325 GB, free: 7.703 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.2706, allocations: 7.984 kB / 0.7325 GB, free: 7.695 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2706, allocations: 0 / 0.7325 GB, free: 7.695 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.2707, allocations: 96 kB / 0.7326 GB, free: 7.602 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2707, allocations: 0 / 0.7326 GB, free: 7.602 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2707, allocations: 0 / 0.7326 GB, free: 7.602 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.2731, allocations: 2.174 MB / 0.7347 GB, free: 5.391 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/0.2748, allocations: 1.033 MB / 0.7357 GB, free: 4.324 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005025/0.2753, allocations: 36 kB / 0.7358 GB, free: 4.289 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/0.276, allocations: 36 kB / 0.7358 GB, free: 4.254 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.276, allocations: 7.984 kB / 0.7358 GB, free: 4.246 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003395/0.2764, allocations: 444 kB / 0.7362 GB, free: 3.812 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01142/0.2878, allocations: 8.567 MB / 0.7446 GB, free: 11.32 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.82e-07/0.2878, allocations: 4 kB / 0.7446 GB, free: 11.32 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001472/0.2893, allocations: 347.9 kB / 0.7449 GB, free: 10.98 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.003221/0.2925, allocations: 2.818 MB / 0.7477 GB, free: 8.117 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0006812/0.2932, allocations: 419.4 kB / 0.7481 GB, free: 7.695 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2933, allocations: 4 kB / 0.7481 GB, free: 7.691 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.2936, allocations: 263.4 kB / 0.7483 GB, free: 7.422 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.2961, allocations: 0.8575 MB / 0.7492 GB, free: 6.562 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6529/0.949, allocations: 64.75 MB / 0.8124 GB, free: 84.8 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004286/0.9533, allocations: 4.789 MB / 0.8171 GB, free: 79.99 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.004065/0.9574, allocations: 2.381 MB / 0.8194 GB, free: 77.76 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003015/0.9605, allocations: 4.401 MB / 0.8237 GB, free: 73.36 MB / 0.6079 GB Notification: Performance of SimCode: time 1.082e-06/0.9605, allocations: 0 / 0.8237 GB, free: 73.36 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/1.189, allocations: 157.2 MB / 0.9772 GB, free: 12.12 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate platform static: time 180.4/181.6, allocations: 3.094 kB / 0.9772 GB, free: 12.12 MB / 0.7017 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