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.001591/0.001591, allocations: 112.7 kB / 17.07 MB, free: 5.992 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.001795/0.001795, allocations: 196 kB / 18.01 MB, free: 5.074 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.024/1.024, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 62.59 kB / 0.5704 GB, free: 40.29 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1368, allocations: 80.69 MB / 0.6492 GB, free: 13.69 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002869/0.1397, allocations: 1.409 MB / 0.6506 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1409, allocations: 0.573 MB / 0.6512 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.141, allocations: 0 / 0.6512 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.1418, allocations: 0.8615 MB / 0.652 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007709/0.1426, allocations: 0.9082 MB / 0.6529 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.1429, allocations: 83.77 kB / 0.653 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.1445, allocations: 2.192 MB / 0.6551 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.1446, allocations: 4 kB / 0.6551 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.1461, allocations: 1.096 MB / 0.6562 GB, free: 6.547 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.1481, allocations: 2.036 MB / 0.6582 GB, free: 4.508 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.1484, allocations: 128 kB / 0.6583 GB, free: 4.383 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.1487, allocations: 203.9 kB / 0.6585 GB, free: 4.184 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004609/0.1533, allocations: 4.987 MB / 0.6634 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.003125/0.1565, allocations: 2.828 MB / 0.6661 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.005283/0.1618, allocations: 6.313 MB / 0.6723 GB, free: 5.973 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1618, allocations: 0 / 0.6723 GB, free: 5.973 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1618, allocations: 0 / 0.6723 GB, free: 5.973 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001776/0.162, allocations: 0 / 0.6723 GB, free: 5.973 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.01226/0.1743, allocations: 10.4 MB / 0.6824 GB, free: 11.43 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.1743, allocations: 15.89 kB / 0.6825 GB, free: 11.42 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.1744, allocations: 34.73 kB / 0.6825 GB, free: 11.38 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.1758, allocations: 1.165 MB / 0.6836 GB, free: 10.2 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02337/0.1992, allocations: 13.13 MB / 0.6965 GB, free: 12.96 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1993, allocations: 384 / 0.6965 GB, free: 12.96 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.882e-05/0.1994, allocations: 36.38 kB / 0.6965 GB, free: 12.93 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.2, allocations: 425.4 kB / 0.6969 GB, free: 12.51 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2, allocations: 0 / 0.6969 GB, free: 12.51 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.2001, allocations: 40 kB / 0.6969 GB, free: 12.47 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2001, allocations: 0 / 0.6969 GB, free: 12.47 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.2004, allocations: 236 kB / 0.6972 GB, free: 12.24 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.205, allocations: 3.58 MB / 0.7007 GB, free: 8.613 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.2054, allocations: 162.5 kB / 0.7008 GB, free: 8.445 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.2056, allocations: 156.9 kB / 0.701 GB, free: 8.289 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.2056, allocations: 0 / 0.701 GB, free: 8.289 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004794/0.2061, allocations: 420.7 kB / 0.7014 GB, free: 7.859 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.2061, allocations: 0 / 0.7014 GB, free: 7.859 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.00323/0.2094, allocations: 2.245 MB / 0.7036 GB, free: 5.594 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.2095, allocations: 85.11 kB / 0.7036 GB, free: 5.492 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01636/0.2258, allocations: 12.46 MB / 0.7158 GB, free: 9.133 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.2261, allocations: 57.7 kB / 0.7159 GB, free: 9.07 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.004979/0.2311, allocations: 5.208 MB / 0.7209 GB, free: 3.859 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.2313, allocations: 59.73 kB / 0.721 GB, free: 3.801 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.2316, allocations: 245.7 kB / 0.7212 GB, free: 3.555 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2317, allocations: 310 kB / 0.7215 GB, free: 3.246 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.232, allocations: 140 kB / 0.7217 GB, free: 3.109 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.2322, allocations: 144 kB / 0.7218 GB, free: 2.969 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.2327, allocations: 356.2 kB / 0.7221 GB, free: 2.605 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2327, allocations: 0 / 0.7221 GB, free: 2.605 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002929/0.2357, allocations: 2.112 MB / 0.7242 GB, free: 484 kB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.2357, allocations: 37.7 kB / 0.7242 GB, free: 440 kB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2358, allocations: 4 kB / 0.7242 GB, free: 436 kB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2358, allocations: 3.984 kB / 0.7242 GB, free: 432 kB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.2359, allocations: 4 kB / 0.7242 GB, free: 428 kB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.2359, allocations: 0 / 0.7242 GB, free: 428 kB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.2371, allocations: 39.94 kB / 0.7243 GB, free: 388 kB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.2375, allocations: 436.2 kB / 0.7247 GB, free: 15.95 MB / 0.5764 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.003473/0.241, allocations: 2.537 MB / 0.7272 GB, free: 13.4 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/0.2424, allocations: 1.199 MB / 0.7284 GB, free: 12.2 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2441, allocations: 1.28 MB / 0.7296 GB, free: 10.91 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2441, allocations: 4 kB / 0.7296 GB, free: 10.91 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2441, allocations: 4 kB / 0.7296 GB, free: 10.9 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2441, allocations: 0 / 0.7296 GB, free: 10.9 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00399/0.2481, allocations: 3.892 MB / 0.7334 GB, free: 6.965 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.2482, allocations: 3.938 kB / 0.7334 GB, free: 6.961 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.2482, allocations: 4 kB / 0.7334 GB, free: 6.957 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2482, allocations: 0 / 0.7334 GB, free: 6.957 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.2484, allocations: 96.09 kB / 0.7335 GB, free: 6.863 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2484, allocations: 3.938 kB / 0.7335 GB, free: 6.859 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2484, allocations: 4 kB / 0.7335 GB, free: 6.855 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.2507, allocations: 2.231 MB / 0.7357 GB, free: 4.594 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/0.2526, allocations: 1.102 MB / 0.7368 GB, free: 3.465 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006353/0.2533, allocations: 39.98 kB / 0.7368 GB, free: 3.426 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.254, allocations: 36 kB / 0.7368 GB, free: 3.391 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.254, allocations: 0 / 0.7368 GB, free: 3.391 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/0.2544, allocations: 444 kB / 0.7373 GB, free: 2.957 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01176/0.2661, allocations: 8.567 MB / 0.7456 GB, free: 10.47 MB / 0.592 GB Notification: Performance of sort global known variables: time 7.42e-07/0.2662, allocations: 0 / 0.7456 GB, free: 10.47 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001367/0.2675, allocations: 344 kB / 0.746 GB, free: 10.13 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.002967/0.2705, allocations: 2.875 MB / 0.7488 GB, free: 7.219 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0006695/0.2712, allocations: 423.3 kB / 0.7492 GB, free: 6.793 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2712, allocations: 0 / 0.7492 GB, free: 6.793 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.2716, allocations: 267.4 kB / 0.7494 GB, free: 6.52 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.274, allocations: 0.8497 MB / 0.7503 GB, free: 5.668 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6351/0.909, allocations: 65.06 MB / 0.8138 GB, free: 80.41 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004501/0.9136, allocations: 4.792 MB / 0.8185 GB, free: 75.58 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.004468/0.9181, allocations: 2.385 MB / 0.8208 GB, free: 73.34 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003626/0.9218, allocations: 4.397 MB / 0.8251 GB, free: 68.95 MB / 0.6079 GB Notification: Performance of SimCode: time 1.212e-06/0.9218, allocations: 0 / 0.8251 GB, free: 68.95 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.227/1.149, allocations: 157.2 MB / 0.9786 GB, free: 7.695 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate platform static: time 121.1/122.2, allocations: 7.984 kB / 0.9786 GB, free: 7.695 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