Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.001975/0.001975, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 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.003207/0.003207, allocations: 211.2 kB / 20.75 MB, free: 2.293 MB / 14.72 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 1.545/1.545, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8142/0.8142, allocations: 120.6 MB / 430.8 MB, free: 144 kB / 350.1 MB " [Timeout remaining time 179] 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.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.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",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.002094/0.002094, allocations: 64.17 kB / 0.6015 GB, free: 11.54 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6781, allocations: 85.82 MB / 0.6853 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002583/0.6807, allocations: 1.41 MB / 0.6867 GB, free: 10.19 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.6817, allocations: 0.607 MB / 0.6873 GB, free: 9.711 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.6818, allocations: 0.9062 kB / 0.6873 GB, free: 9.711 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.682, allocations: 23.22 kB / 0.6873 GB, free: 9.695 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.6823, allocations: 59.86 kB / 0.6874 GB, free: 9.66 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.6825, allocations: 80.39 kB / 0.6875 GB, free: 9.609 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.6827, allocations: 87.41 kB / 0.6875 GB, free: 9.562 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.6827, allocations: 6.766 kB / 0.6876 GB, free: 9.559 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.6829, allocations: 56.73 kB / 0.6876 GB, free: 9.527 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.683, allocations: 42.95 kB / 0.6877 GB, free: 9.508 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.683, allocations: 4.594 kB / 0.6877 GB, free: 9.508 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.6832, allocations: 89.69 kB / 0.6877 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.6833, allocations: 65.34 kB / 0.6878 GB, free: 9.422 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.6833, allocations: 41.75 kB / 0.6878 GB, free: 9.391 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.6836, allocations: 150.3 kB / 0.688 GB, free: 9.297 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6836, allocations: 0 / 0.688 GB, free: 9.297 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6836, allocations: 1.156 kB / 0.688 GB, free: 9.297 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.6836, allocations: 0 / 0.688 GB, free: 9.297 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.000503/0.6841, allocations: 485.1 kB / 0.6885 GB, free: 8.812 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6841, allocations: 13.88 kB / 0.6885 GB, free: 8.809 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.6842, allocations: 35.97 kB / 0.6885 GB, free: 8.766 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.6842, allocations: 20.45 kB / 0.6885 GB, free: 8.754 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.6846, allocations: 316.8 kB / 0.6888 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.6847, allocations: 1.312 kB / 0.6888 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.6847, allocations: 3.125 kB / 0.6888 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.6848, allocations: 59.64 kB / 0.6889 GB, free: 8.414 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6848, allocations: 0 / 0.6889 GB, free: 8.414 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.6848, allocations: 0.9375 kB / 0.6889 GB, free: 8.414 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6848, allocations: 0.9062 kB / 0.6889 GB, free: 8.414 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.6849, allocations: 20.06 kB / 0.6889 GB, free: 8.406 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.6851, allocations: 200.6 kB / 0.6891 GB, free: 8.184 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.6852, allocations: 39.84 kB / 0.6891 GB, free: 8.145 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.6852, allocations: 18.36 kB / 0.6891 GB, free: 8.133 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.6852, allocations: 1.406 kB / 0.6891 GB, free: 8.133 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.6854, allocations: 106.5 kB / 0.6893 GB, free: 8.027 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.001e-06/0.6854, allocations: 0 / 0.6893 GB, free: 8.027 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003541/0.6857, allocations: 167.4 kB / 0.6894 GB, free: 7.922 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.6858, allocations: 79.52 kB / 0.6895 GB, free: 7.828 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.686, allocations: 232.1 kB / 0.6897 GB, free: 7.664 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.686, allocations: 30.95 kB / 0.6897 GB, free: 7.629 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.686, allocations: 120.1 kB / 0.6899 GB, free: 7.516 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.6861, allocations: 23.62 kB / 0.6899 GB, free: 7.496 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.6861, allocations: 23.78 kB / 0.6899 GB, free: 7.477 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.6862, allocations: 336.8 kB / 0.6902 GB, free: 7.145 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.6862, allocations: 13.31 kB / 0.6902 GB, free: 7.141 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.6863, allocations: 21.11 kB / 0.6903 GB, free: 7.129 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.6864, allocations: 102.8 kB / 0.6903 GB, free: 7.039 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6864, allocations: 0 / 0.6903 GB, free: 7.039 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001759/0.6865, allocations: 160.8 kB / 0.6905 GB, free: 6.926 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.6866, allocations: 35.73 kB / 0.6905 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.6866, allocations: 0 / 0.6905 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6866, allocations: 0 / 0.6905 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.6867, allocations: 11.95 kB / 0.6905 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6867, allocations: 1.156 kB / 0.6905 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.6867, allocations: 7.047 kB / 0.6906 GB, free: 6.883 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.6867, allocations: 6.688 kB / 0.6906 GB, free: 6.883 MB / 0.5139 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.0001162/0.6869, allocations: 180.6 kB / 0.6907 GB, free: 6.715 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.6869, allocations: 21.97 kB / 0.6908 GB, free: 6.703 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.6869, allocations: 20.95 kB / 0.6908 GB, free: 6.688 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.6869, allocations: 1.391 kB / 0.6908 GB, free: 6.688 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6869, allocations: 4 kB / 0.6908 GB, free: 6.684 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6869, allocations: 7.984 kB / 0.6908 GB, free: 6.676 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.6871, allocations: 210.7 kB / 0.691 GB, free: 6.449 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6871, allocations: 5.281 kB / 0.691 GB, free: 6.445 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.6871, allocations: 6.469 kB / 0.691 GB, free: 6.441 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.6871, allocations: 0 / 0.691 GB, free: 6.441 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.6871, allocations: 3.781 kB / 0.691 GB, free: 6.441 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6871, allocations: 1.25 kB / 0.691 GB, free: 6.441 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6871, allocations: 0 / 0.691 GB, free: 6.441 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.6873, allocations: 206.6 kB / 0.6912 GB, free: 6.289 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.6874, allocations: 108.5 kB / 0.6913 GB, free: 6.172 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.6874, allocations: 3.781 kB / 0.6913 GB, free: 6.172 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-05/0.6874, allocations: 2.531 kB / 0.6913 GB, free: 6.172 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.6875, allocations: 10.47 kB / 0.6913 GB, free: 6.164 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.6875, allocations: 6.312 kB / 0.6913 GB, free: 6.164 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001351/0.6876, allocations: 175.9 kB / 0.6915 GB, free: 6.047 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.6876, allocations: 3.938 kB / 0.6915 GB, free: 6.043 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002471/0.6879, allocations: 30.31 kB / 0.6915 GB, free: 6.043 MB / 0.5139 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.0004756/0.6883, allocations: 0.7601 MB / 0.6923 GB, free: 5.355 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.6885, allocations: 114.1 kB / 0.6924 GB, free: 5.266 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6885, allocations: 0 / 0.6924 GB, free: 5.266 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.501e-05/0.6886, allocations: 82.33 kB / 0.6925 GB, free: 5.191 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.6888, allocations: 17.52 kB / 0.6925 GB, free: 5.18 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.6905, allocations: 1.924 MB / 0.6944 GB, free: 3.703 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.6906, allocations: 0.7244 MB / 0.6951 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.589e-05/0.6907, allocations: 26.86 kB / 0.6951 GB, free: 2.973 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.6907, allocations: 46.33 kB / 0.6951 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of SimCode: time 3.1e-07/0.6907, allocations: 0 / 0.6951 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.717, allocations: 3.491 MB / 0.6985 GB, free: 1.172 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.693/9.41, allocations: 2.125 kB / 0.6985 GB, free: 1.172 MB / 0.5139 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_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_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.522417241241783]