Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001304/0.001304, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001633/0.001633, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9195/0.9195, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2486/0.2486, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.96e-05, allocations: 2.281 kB / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002083/0.002102, allocations: 1.713 MB / 441.4 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.003623, allocations: 1.668 MB / 443.1 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.003693, allocations: 0 / 443.1 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.003949, allocations: 43.64 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.004256, allocations: 99.53 kB / 443.2 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.004431, allocations: 83.61 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.004578, allocations: 115.6 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.004665, allocations: 4 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.004747, allocations: 59.77 kB / 443.5 MB, free: 352 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.288e-05/0.004839, allocations: 37.3 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.004856, allocations: 8 kB / 443.5 MB, free: 308 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.005001, allocations: 99.81 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.005049, allocations: 19.92 kB / 443.6 MB, free: 188 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.005086, allocations: 23.91 kB / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1658/0.1708, allocations: 180.9 kB / 443.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1708, allocations: 2.625 kB / 443.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1708, allocations: 0 / 443.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1709, allocations: 0 / 443.8 MB, free: 43.51 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000567/0.1714, allocations: 348.6 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1715, allocations: 10.53 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.1715, allocations: 32.25 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1715, allocations: 14.38 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1718, allocations: 151.8 kB / 444.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1718, allocations: 1 kB / 444.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1718, allocations: 8.031 kB / 444.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.172, allocations: 99.58 kB / 444.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.172, allocations: 0 / 444.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.172, allocations: 4.688 kB / 444.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.172, allocations: 0 / 444.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.1721, allocations: 25.67 kB / 444.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.1724, allocations: 254.5 kB / 444.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1725, allocations: 55.02 kB / 444.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.1725, allocations: 22.48 kB / 444.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1725, allocations: 1.5 kB / 444.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.1726, allocations: 74.69 kB / 444.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1726, allocations: 0 / 444.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003738/0.173, allocations: 190.6 kB / 445.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.173, allocations: 80.02 kB / 445.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.1731, allocations: 167.9 kB / 445.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.383e-06/0.1731, allocations: 28.64 kB / 445.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.1732, allocations: 97.38 kB / 445.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.1732, allocations: 21.36 kB / 445.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.1732, allocations: 28.56 kB / 445.5 MB, free: 42.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.933e-05/0.1732, allocations: 324.8 kB / 445.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/0.1733, allocations: 24.2 kB / 445.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.1733, allocations: 65.77 kB / 445.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.354e-05/0.1734, allocations: 67.56 kB / 446 MB, free: 41.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1734, allocations: 0 / 446 MB, free: 41.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.991e-05/0.1735, allocations: 108.4 kB / 446.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1735, allocations: 5.812 kB / 446.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1735, allocations: 3.203 kB / 446.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1735, allocations: 6.125 kB / 446.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.1736, allocations: 13.56 kB / 446.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1736, allocations: 0 / 446.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.1736, allocations: 5.953 kB / 446.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1736, allocations: 6 kB / 446.1 MB, free: 41.85 MB / 410.7 MB 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.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.841e-05/0.1737, allocations: 130.2 kB / 446.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.1737, allocations: 10.52 kB / 446.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.1738, allocations: 116.6 kB / 446.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1738, allocations: 7.203 kB / 446.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1738, allocations: 0 / 446.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1738, allocations: 0 / 446.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.174, allocations: 377.5 kB / 446.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.174, allocations: 2.188 kB / 446.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.1741, allocations: 16.11 kB / 446.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1741, allocations: 0 / 446.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1741, allocations: 8.562 kB / 446.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1741, allocations: 3.938 kB / 446.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1741, allocations: 0 / 446.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.1742, allocations: 208.2 kB / 447 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.1742, allocations: 9.828 kB / 447 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1742, allocations: 10.09 kB / 447 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.272e-05/0.1743, allocations: 6.844 kB / 447 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.1743, allocations: 9.672 kB / 447 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1743, allocations: 3.062 kB / 447 MB, free: 41.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.09e-05/0.1743, allocations: 134.5 kB / 447.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1743, allocations: 4 kB / 447.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.1745, allocations: 46.67 kB / 447.2 MB, free: 41.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009842/0.1755, allocations: 1.245 MB / 448.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1756, allocations: 56.84 kB / 448.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1756, allocations: 4.062 kB / 448.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.1757, allocations: 36.66 kB / 448.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.1759, allocations: 37 kB / 448.6 MB, free: 40.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.1768, allocations: 1.612 MB / 450.2 MB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.1768, allocations: 84.77 kB / 450.3 MB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.322e-05/0.1769, allocations: 27.98 kB / 450.3 MB, free: 39.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.1769, allocations: 41.45 kB / 450.3 MB, free: 39.08 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1769, allocations: 0 / 450.3 MB, free: 39.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.1979, allocations: 4.891 MB / 455.2 MB, free: 37.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/7.033, allocations: 13.19 kB / 455.2 MB, free: 37.55 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.188146824017167]