Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 111.4 kB / 20.43 MB, free: 4.598 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 212.7 kB / 23.74 MB, free: 2.266 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9568/0.9568, allocations: 230.6 MB / 257.5 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.8133/0.8133, allocations: 120.6 MB / 434.5 MB, free: 13.44 MB / 346.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000899/0.000899, allocations: 69.8 kB / 0.6068 GB, free: 63.84 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1244, allocations: 85.87 MB / 0.6906 GB, free: 8.73 MB / 0.5106 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.001932/0.1263, allocations: 1.436 MB / 0.692 GB, free: 7.285 MB / 0.5106 GB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.1271, allocations: 0.5999 MB / 0.6926 GB, free: 6.68 MB / 0.5106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.1272, allocations: 4 kB / 0.6926 GB, free: 6.676 MB / 0.5106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.1274, allocations: 231.6 kB / 0.6928 GB, free: 6.449 MB / 0.5106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.1278, allocations: 283.5 kB / 0.6931 GB, free: 6.172 MB / 0.5106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.128, allocations: 79.42 kB / 0.6932 GB, free: 6.098 MB / 0.5106 GB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.1284, allocations: 0.5968 MB / 0.6938 GB, free: 5.5 MB / 0.5106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1285, allocations: 16.14 kB / 0.6938 GB, free: 5.484 MB / 0.5106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.1288, allocations: 311.5 kB / 0.6941 GB, free: 5.18 MB / 0.5106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.1293, allocations: 0.593 MB / 0.6946 GB, free: 4.586 MB / 0.5106 GB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.1293, allocations: 36 kB / 0.6947 GB, free: 4.551 MB / 0.5106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1295, allocations: 107.9 kB / 0.6948 GB, free: 4.445 MB / 0.5106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009106/0.1304, allocations: 1.302 MB / 0.6961 GB, free: 3.141 MB / 0.5106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.1308, allocations: 0.7273 MB / 0.6968 GB, free: 2.406 MB / 0.5106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009388/0.1317, allocations: 1.634 MB / 0.6984 GB, free: 0.7617 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1317, allocations: 0 / 0.6984 GB, free: 0.7617 MB / 0.5106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1317, allocations: 0 / 0.6984 GB, free: 0.7617 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 3.082e-05/0.1318, allocations: 0 / 0.6984 GB, free: 0.7617 MB / 0.5106 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.00221/0.134, allocations: 2.797 MB / 0.7011 GB, free: 13.9 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.134, allocations: 12.03 kB / 0.7011 GB, free: 13.89 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.1341, allocations: 38.73 kB / 0.7011 GB, free: 13.84 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.1343, allocations: 306.8 kB / 0.7014 GB, free: 13.54 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.1378, allocations: 3.225 MB / 0.7046 GB, free: 10.24 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1378, allocations: 384 / 0.7046 GB, free: 10.24 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1378, allocations: 8.375 kB / 0.7046 GB, free: 10.23 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.138, allocations: 153.7 kB / 0.7047 GB, free: 10.07 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.138, allocations: 4 kB / 0.7047 GB, free: 10.07 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.138, allocations: 8 kB / 0.7047 GB, free: 10.06 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.138, allocations: 0 / 0.7047 GB, free: 10.06 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.816e-05/0.1381, allocations: 71.98 kB / 0.7048 GB, free: 9.992 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.1388, allocations: 0.9902 MB / 0.7058 GB, free: 8.965 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 9.133e-05/0.1389, allocations: 59.45 kB / 0.7058 GB, free: 8.898 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.139, allocations: 52.89 kB / 0.7059 GB, free: 8.844 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.139, allocations: 0 / 0.7059 GB, free: 8.844 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.1392, allocations: 177.1 kB / 0.7061 GB, free: 8.652 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1392, allocations: 0 / 0.7061 GB, free: 8.652 MB / 0.5263 GB Notification: Performance of matching and sorting (n=8): time 0.0005478/0.1397, allocations: 0.6731 MB / 0.7067 GB, free: 7.965 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1398, allocations: 85.09 kB / 0.7068 GB, free: 7.863 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.1419, allocations: 3.181 MB / 0.7099 GB, free: 4.703 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1419, allocations: 37.7 kB / 0.7099 GB, free: 4.66 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007103/0.1426, allocations: 1.24 MB / 0.7112 GB, free: 3.418 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.1427, allocations: 31.83 kB / 0.7112 GB, free: 3.387 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.1427, allocations: 69.72 kB / 0.7112 GB, free: 3.312 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.1428, allocations: 314 kB / 0.7115 GB, free: 3 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.287e-05/0.1429, allocations: 48 kB / 0.7116 GB, free: 2.953 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.1429, allocations: 51.94 kB / 0.7116 GB, free: 2.902 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.143, allocations: 168.2 kB / 0.7118 GB, free: 2.723 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.143, allocations: 0 / 0.7118 GB, free: 2.723 MB / 0.5263 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004062/0.1434, allocations: 0.6337 MB / 0.7124 GB, free: 2.078 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.1435, allocations: 33.7 kB / 0.7125 GB, free: 2.039 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1435, allocations: 0 / 0.7125 GB, free: 2.039 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1435, allocations: 0 / 0.7125 GB, free: 2.039 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/0.1436, allocations: 7.938 kB / 0.7125 GB, free: 2.031 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1436, allocations: 3.984 kB / 0.7125 GB, free: 2.027 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.1437, allocations: 19.94 kB / 0.7125 GB, free: 2.008 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.1438, allocations: 112 kB / 0.7126 GB, free: 1.898 MB / 0.5263 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.0005789/0.1444, allocations: 0.7374 MB / 0.7133 GB, free: 1.145 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.1445, allocations: 321.9 kB / 0.7136 GB, free: 0.8281 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.1447, allocations: 333.8 kB / 0.7139 GB, free: 0.5039 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1447, allocations: 0 / 0.7139 GB, free: 0.5039 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1447, allocations: 0 / 0.7139 GB, free: 0.5039 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1447, allocations: 0 / 0.7139 GB, free: 0.5039 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.1454, allocations: 1.061 MB / 0.715 GB, free: 15.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1454, allocations: 7.938 kB / 0.715 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.1454, allocations: 4 kB / 0.715 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1454, allocations: 0 / 0.715 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.1455, allocations: 35.98 kB / 0.715 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1455, allocations: 0 / 0.715 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1455, allocations: 0 / 0.715 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.1459, allocations: 0.6865 MB / 0.7157 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.1461, allocations: 277.8 kB / 0.716 GB, free: 14.37 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.1462, allocations: 12 kB / 0.716 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1463, allocations: 20.09 kB / 0.716 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1464, allocations: 7.938 kB / 0.716 GB, free: 14.33 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.1464, allocations: 116 kB / 0.7161 GB, free: 14.22 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.001675/0.1481, allocations: 2.203 MB / 0.7183 GB, free: 12.04 MB / 0.5419 GB Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 0 / 0.7183 GB, free: 12.04 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000244/0.1484, allocations: 111.9 kB / 0.7184 GB, free: 11.93 MB / 0.5419 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.0006929/0.149, allocations: 1.268 MB / 0.7196 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1493, allocations: 183.3 kB / 0.7198 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1493, allocations: 0 / 0.7198 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.1494, allocations: 119.4 kB / 0.7199 GB, free: 10.3 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.1498, allocations: 223.8 kB / 0.7201 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/0.1631, allocations: 16.87 MB / 0.7366 GB, free: 9.086 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009396/0.164, allocations: 1.691 MB / 0.7382 GB, free: 7.363 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.000694/0.1647, allocations: 0.5924 MB / 0.7388 GB, free: 6.766 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/0.1653, allocations: 0.9953 MB / 0.7398 GB, free: 5.77 MB / 0.5575 GB Notification: Performance of SimCode: time 1.593e-06/0.1653, allocations: 0 / 0.7398 GB, free: 5.77 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/0.211, allocations: 40.66 MB / 0.7795 GB, free: 13.21 MB / 0.6044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.23, allocations: 8.375 kB / 0.7795 GB, free: 13.2 MB / 0.6044 GB " [Timeout remaining time 290] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_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_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.495912287151441]