Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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.0009584/0.0009584, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001025/0.001025, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.9956/0.9956, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.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.76/0.76, allocations: 88.07 MB / 348.7 MB, free: 14.38 MB / 330.7 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_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.523 GB, free: 4.07 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.535e-05, allocations: 3.828 kB / 0.523 GB, free: 4.066 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002113/0.002138, allocations: 1.423 MB / 0.5244 GB, free: 2.637 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007697/0.002908, allocations: 0.5569 MB / 0.5249 GB, free: 2.074 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.002964, allocations: 0 / 0.5249 GB, free: 2.074 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.003436, allocations: 451.1 kB / 0.5254 GB, free: 1.633 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.003864, allocations: 498.9 kB / 0.5258 GB, free: 1.145 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.004082, allocations: 83.72 kB / 0.5259 GB, free: 1.062 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005797/0.004662, allocations: 1.127 MB / 0.527 GB, free: 15.93 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.004699, allocations: 11.97 kB / 0.527 GB, free: 15.92 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.00515, allocations: 0.6279 MB / 0.5276 GB, free: 15.29 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008973/0.006048, allocations: 1.154 MB / 0.5288 GB, free: 14.14 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 8.882e-05/0.006137, allocations: 71.88 kB / 0.5288 GB, free: 14.07 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.006282, allocations: 135.9 kB / 0.529 GB, free: 13.93 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001625/0.007907, allocations: 2.627 MB / 0.5315 GB, free: 11.3 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.008285, allocations: 0.6097 MB / 0.5321 GB, free: 10.69 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.009744, allocations: 2.852 MB / 0.5349 GB, free: 7.82 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.009747, allocations: 0 / 0.5349 GB, free: 7.82 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.009748, allocations: 0 / 0.5349 GB, free: 7.82 MB / 458.8 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.009771, allocations: 0 / 0.5349 GB, free: 7.82 MB / 458.8 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.003484/0.01326, allocations: 5.246 MB / 0.54 GB, free: 2.496 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.0133, allocations: 12.03 kB / 0.54 GB, free: 2.484 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.01332, allocations: 30.75 kB / 0.5401 GB, free: 2.445 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.01364, allocations: 0.5906 MB / 0.5406 GB, free: 1.852 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005976/0.01961, allocations: 6.321 MB / 0.5468 GB, free: 11.43 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.01963, allocations: 4.375 kB / 0.5468 GB, free: 11.42 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.01965, allocations: 16.38 kB / 0.5468 GB, free: 11.41 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.01989, allocations: 275.7 kB / 0.5471 GB, free: 11.12 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.0199, allocations: 192 / 0.5471 GB, free: 11.12 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.01992, allocations: 20.12 kB / 0.5471 GB, free: 11.11 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01993, allocations: 0 / 0.5471 GB, free: 11.11 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.02006, allocations: 157.7 kB / 0.5473 GB, free: 10.95 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.02124, allocations: 1.826 MB / 0.5491 GB, free: 9.078 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.02136, allocations: 124.3 kB / 0.5492 GB, free: 8.941 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.02146, allocations: 114.7 kB / 0.5493 GB, free: 8.82 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.02148, allocations: 4 kB / 0.5493 GB, free: 8.816 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.02172, allocations: 298.5 kB / 0.5496 GB, free: 8.5 MB / 474.8 MB Notification: Performance of pre-optimization done (n=8): time 7.92e-07/0.02172, allocations: 4 kB / 0.5496 GB, free: 8.496 MB / 474.8 MB Notification: Performance of matching and sorting (n=8): time 0.001204/0.02292, allocations: 1.253 MB / 0.5508 GB, free: 7.215 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.02297, allocations: 85.11 kB / 0.5509 GB, free: 7.113 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004567/0.02753, allocations: 6.275 MB / 0.557 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.02757, allocations: 41.7 kB / 0.557 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.02909, allocations: 2.524 MB / 0.5595 GB, free: 14.3 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.02915, allocations: 39.8 kB / 0.5595 GB, free: 14.27 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.02926, allocations: 137.7 kB / 0.5597 GB, free: 14.12 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.02935, allocations: 310 kB / 0.56 GB, free: 13.82 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.185e-05/0.02944, allocations: 109.7 kB / 0.5601 GB, free: 13.7 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.531e-05/0.02952, allocations: 117.6 kB / 0.5602 GB, free: 13.58 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.02971, allocations: 232.3 kB / 0.5604 GB, free: 13.34 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02972, allocations: 0 / 0.5604 GB, free: 13.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006823/0.0304, allocations: 1.161 MB / 0.5615 GB, free: 12.16 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.03044, allocations: 33.7 kB / 0.5616 GB, free: 12.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.03044, allocations: 3.938 kB / 0.5616 GB, free: 12.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.03046, allocations: 3.984 kB / 0.5616 GB, free: 12.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.03052, allocations: 4 kB / 0.5616 GB, free: 12.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.03053, allocations: 4 kB / 0.5616 GB, free: 12.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.03074, allocations: 23.95 kB / 0.5616 GB, free: 12.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.03086, allocations: 220 kB / 0.5618 GB, free: 11.86 MB / 490.8 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.001044/0.0319, allocations: 1.341 MB / 0.5631 GB, free: 10.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.03221, allocations: 0.5976 MB / 0.5637 GB, free: 9.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/0.03301, allocations: 0.6519 MB / 0.5644 GB, free: 9.258 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.03301, allocations: 0 / 0.5644 GB, free: 9.258 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.03302, allocations: 0 / 0.5644 GB, free: 9.258 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.03302, allocations: 0 / 0.5644 GB, free: 9.258 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.03439, allocations: 1.994 MB / 0.5663 GB, free: 7.223 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.03439, allocations: 4 kB / 0.5663 GB, free: 7.219 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.03442, allocations: 0 / 0.5663 GB, free: 7.219 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.03443, allocations: 7.938 kB / 0.5663 GB, free: 7.211 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.03447, allocations: 51.94 kB / 0.5664 GB, free: 7.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.03447, allocations: 3.984 kB / 0.5664 GB, free: 7.156 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.03448, allocations: 4 kB / 0.5664 GB, free: 7.152 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007407/0.03522, allocations: 1.22 MB / 0.5676 GB, free: 5.898 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.03561, allocations: 0.5272 MB / 0.5681 GB, free: 5.367 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.03573, allocations: 19.94 kB / 0.5681 GB, free: 5.348 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.03591, allocations: 20 kB / 0.5681 GB, free: 5.328 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.03596, allocations: 11.98 kB / 0.5681 GB, free: 5.316 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.03607, allocations: 224 kB / 0.5683 GB, free: 5.098 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003632/0.0397, allocations: 4.328 MB / 0.5726 GB, free: 0.8086 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.0397, allocations: 3.938 kB / 0.5726 GB, free: 0.8047 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003182/0.04002, allocations: 187.9 kB / 0.5728 GB, free: 0.6211 MB / 490.8 MB 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.001057/0.04108, allocations: 1.842 MB / 0.5746 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0003144/0.04139, allocations: 318.7 kB / 0.5749 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.04139, allocations: 4 kB / 0.5749 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.04154, allocations: 197 kB / 0.575 GB, free: 14.18 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.04234, allocations: 446.5 kB / 0.5755 GB, free: 13.74 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/0.06999, allocations: 33.01 MB / 0.6077 GB, free: 12.58 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.07143, allocations: 2.193 MB / 0.6098 GB, free: 10.36 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.001379/0.07281, allocations: 1.141 MB / 0.611 GB, free: 9.211 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/0.07406, allocations: 2.094 MB / 0.613 GB, free: 7.117 MB / 0.5262 GB Notification: Performance of SimCode: time 2.064e-06/0.07406, allocations: 0 / 0.613 GB, free: 7.117 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5587/0.6328, allocations: 81.17 MB / 0.6923 GB, free: 59.64 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.34, allocations: 14.42 kB / 0.6923 GB, free: 59.63 MB / 0.5419 GB " [Timeout remaining time 287] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_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_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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: 16.648361958563328]