Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.001604/0.001604, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001841/0.001841, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.617/1.617, 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.8147/0.8147, allocations: 120.6 MB / 430.7 MB, free: 164 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.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",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.002059/0.002059, allocations: 71.89 kB / 0.6015 GB, free: 11.54 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6421/0.6441, allocations: 85.81 MB / 0.6853 GB, free: 11.17 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002697/0.6468, allocations: 1.59 MB / 0.6869 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.6484, allocations: 1.046 MB / 0.6879 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.6485, allocations: 1.812 kB / 0.6879 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.6488, allocations: 64.98 kB / 0.688 GB, free: 9.066 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.6493, allocations: 149.2 kB / 0.6881 GB, free: 8.969 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.6495, allocations: 70.17 kB / 0.6882 GB, free: 8.918 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.6497, allocations: 137.1 kB / 0.6883 GB, free: 8.84 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.6497, allocations: 11.86 kB / 0.6883 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.6499, allocations: 75.72 kB / 0.6884 GB, free: 8.789 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.6501, allocations: 64.31 kB / 0.6885 GB, free: 8.754 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.6501, allocations: 3.844 kB / 0.6885 GB, free: 8.754 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.375e-05/0.6502, allocations: 38.67 kB / 0.6885 GB, free: 8.738 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.6503, allocations: 76.64 kB / 0.6886 GB, free: 8.695 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.6503, allocations: 57.8 kB / 0.6886 GB, free: 8.648 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.6506, allocations: 158.8 kB / 0.6888 GB, free: 8.551 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.6506, allocations: 0 / 0.6888 GB, free: 8.551 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6506, allocations: 0 / 0.6888 GB, free: 8.551 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.6506, allocations: 1.094 kB / 0.6888 GB, free: 8.551 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005393/0.6511, allocations: 0.4944 MB / 0.6893 GB, free: 8.059 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6512, allocations: 8.969 kB / 0.6893 GB, free: 8.059 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.6512, allocations: 31.84 kB / 0.6893 GB, free: 8.02 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.6513, allocations: 30.28 kB / 0.6893 GB, free: 8 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.6517, allocations: 346.5 kB / 0.6897 GB, free: 7.688 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.6517, allocations: 1.844 kB / 0.6897 GB, free: 7.688 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.6517, allocations: 5.375 kB / 0.6897 GB, free: 7.684 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.6518, allocations: 51.8 kB / 0.6897 GB, free: 7.637 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6519, allocations: 0 / 0.6897 GB, free: 7.637 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.6519, allocations: 1.406 kB / 0.6897 GB, free: 7.637 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6519, allocations: 0 / 0.6897 GB, free: 7.637 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.207e-05/0.6519, allocations: 20.48 kB / 0.6897 GB, free: 7.625 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.6521, allocations: 215.6 kB / 0.6899 GB, free: 7.391 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.6523, allocations: 53.97 kB / 0.69 GB, free: 7.348 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.6523, allocations: 16.47 kB / 0.69 GB, free: 7.336 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.6524, allocations: 4.906 kB / 0.69 GB, free: 7.332 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.6525, allocations: 67.64 kB / 0.6901 GB, free: 7.266 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.6525, allocations: 0 / 0.6901 GB, free: 7.266 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0002998/0.6528, allocations: 112.3 kB / 0.6902 GB, free: 7.191 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.6528, allocations: 52.84 kB / 0.6902 GB, free: 7.129 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.6531, allocations: 288.1 kB / 0.6905 GB, free: 6.945 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.6531, allocations: 26.67 kB / 0.6905 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.6532, allocations: 143.1 kB / 0.6907 GB, free: 6.781 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.6532, allocations: 10.44 kB / 0.6907 GB, free: 6.773 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.6532, allocations: 22.75 kB / 0.6907 GB, free: 6.75 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.6533, allocations: 338.4 kB / 0.691 GB, free: 6.418 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.6534, allocations: 15.58 kB / 0.691 GB, free: 6.41 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.6534, allocations: 23.81 kB / 0.6911 GB, free: 6.391 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.352e-05/0.6535, allocations: 47.33 kB / 0.6911 GB, free: 6.355 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6535, allocations: 3.938 kB / 0.6911 GB, free: 6.352 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001619/0.6537, allocations: 95.55 kB / 0.6912 GB, free: 6.285 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6537, allocations: 10.33 kB / 0.6912 GB, free: 6.281 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6537, allocations: 0 / 0.6912 GB, free: 6.281 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6537, allocations: 1.25 kB / 0.6912 GB, free: 6.281 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.6538, allocations: 8.844 kB / 0.6912 GB, free: 6.281 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.6538, allocations: 1.281 kB / 0.6912 GB, free: 6.281 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.6538, allocations: 2.5 kB / 0.6912 GB, free: 6.281 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.6539, allocations: 6.531 kB / 0.6912 GB, free: 6.277 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 9.409e-05/0.654, allocations: 153.9 kB / 0.6914 GB, free: 6.137 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.654, allocations: 21.98 kB / 0.6914 GB, free: 6.125 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.654, allocations: 28.67 kB / 0.6914 GB, free: 6.105 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.654, allocations: 1.25 kB / 0.6914 GB, free: 6.105 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.654, allocations: 0 / 0.6914 GB, free: 6.105 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.654, allocations: 0 / 0.6914 GB, free: 6.105 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.6542, allocations: 230.3 kB / 0.6916 GB, free: 5.863 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.6542, allocations: 0 / 0.6916 GB, free: 5.863 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.6542, allocations: 6.781 kB / 0.6917 GB, free: 5.859 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6542, allocations: 1.25 kB / 0.6917 GB, free: 5.859 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.6542, allocations: 5.281 kB / 0.6917 GB, free: 5.855 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6542, allocations: 4 kB / 0.6917 GB, free: 5.852 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6542, allocations: 1.25 kB / 0.6917 GB, free: 5.852 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.6544, allocations: 122.8 kB / 0.6918 GB, free: 5.75 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.6545, allocations: 102 kB / 0.6919 GB, free: 5.637 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.6545, allocations: 2.531 kB / 0.6919 GB, free: 5.637 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.6545, allocations: 5.25 kB / 0.6919 GB, free: 5.633 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.6546, allocations: 2.531 kB / 0.6919 GB, free: 5.633 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.6546, allocations: 10.48 kB / 0.6919 GB, free: 5.625 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001709/0.6548, allocations: 207.2 kB / 0.6921 GB, free: 5.492 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6548, allocations: 0 / 0.6921 GB, free: 5.492 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002373/0.655, allocations: 20.41 kB / 0.6921 GB, free: 5.488 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001734/0.6567, allocations: 0.9667 MB / 0.6931 GB, free: 4.746 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.6569, allocations: 42.64 kB / 0.6931 GB, free: 4.727 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6569, allocations: 0 / 0.6931 GB, free: 4.727 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.657, allocations: 18.08 kB / 0.6931 GB, free: 4.719 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.6573, allocations: 36.44 kB / 0.6932 GB, free: 4.699 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.6592, allocations: 2.012 MB / 0.6951 GB, free: 3.176 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.6594, allocations: 0.7392 MB / 0.6958 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.6595, allocations: 42.31 kB / 0.6959 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.6596, allocations: 73.52 kB / 0.6959 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of SimCode: time 3.01e-07/0.6596, allocations: 0 / 0.6959 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.6899, allocations: 4.444 MB / 0.7003 GB, free: 52 kB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.768/9.458, allocations: 6.203 kB / 0.7003 GB, free: 48 kB / 0.5139 GB " [Timeout remaining time 290] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_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_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.541911173146218]