Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.0008466/0.0008466, 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.001081/0.001081, 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.9591/0.9591, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2435/0.2435, allocations: 32.8 MB / 293.5 MB, free: 1.258 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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.176e-05, allocations: 6.281 kB / 439.7 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003793/0.003815, allocations: 1.795 MB / 441.4 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.005868, allocations: 1.738 MB / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.005974, allocations: 4 kB / 443.2 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.006299, allocations: 55.56 kB / 443.2 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.006712, allocations: 143.3 kB / 443.4 MB, free: 464 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.006963, allocations: 115.5 kB / 443.5 MB, free: 348 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.007246, allocations: 211.2 kB / 443.7 MB, free: 136 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.007297, allocations: 5.812 kB / 443.7 MB, free: 132 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.007433, allocations: 107.7 kB / 443.8 MB, free: 24 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1848/0.1923, allocations: 60.44 kB / 443.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.1923, allocations: 11.78 kB / 443.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.1926, allocations: 107 kB / 444 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.1926, allocations: 39.06 kB / 444 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.1927, allocations: 36.27 kB / 444.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.193, allocations: 235.6 kB / 444.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.193, allocations: 0 / 444.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.193, allocations: 2.875 kB / 444.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.193, allocations: 3.375 kB / 444.3 MB, free: 43.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005682/0.1936, allocations: 426.7 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1937, allocations: 8.75 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.1937, allocations: 36.53 kB / 444.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.1937, allocations: 24.91 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.1941, allocations: 190.5 kB / 445 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.1941, allocations: 6.656 kB / 445 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1941, allocations: 5.875 kB / 445 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1943, allocations: 156.6 kB / 445.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1943, allocations: 0 / 445.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1943, allocations: 6.844 kB / 445.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1943, allocations: 0 / 445.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.1944, allocations: 39.67 kB / 445.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.1946, allocations: 176.8 kB / 445.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1948, allocations: 105.6 kB / 445.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.1949, allocations: 44.69 kB / 445.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1949, allocations: 0.7812 kB / 445.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.1951, allocations: 115.6 kB / 445.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1951, allocations: 2.969 kB / 445.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003694/0.1955, allocations: 178.5 kB / 445.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1955, allocations: 138.4 kB / 445.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1957, allocations: 244.9 kB / 446.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1958, allocations: 28.61 kB / 446.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.1958, allocations: 120.6 kB / 446.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.1958, allocations: 25.33 kB / 446.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1959, allocations: 32.14 kB / 446.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.1959, allocations: 330.8 kB / 446.7 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.196, allocations: 33.17 kB / 446.7 MB, free: 41.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.1961, allocations: 125.9 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1962, allocations: 88.55 kB / 446.9 MB, free: 41.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1962, allocations: 6.031 kB / 446.9 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001726/0.1964, allocations: 140.2 kB / 447.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1964, allocations: 9.75 kB / 447.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1964, allocations: 2.875 kB / 447.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1964, allocations: 0 / 447.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1965, allocations: 27.44 kB / 447.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1965, allocations: 12.3 kB / 447.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.1966, allocations: 10.8 kB / 447.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1966, allocations: 7.281 kB / 447.1 MB, free: 41.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 8.733e-05/0.1967, allocations: 132.9 kB / 447.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1967, allocations: 20.16 kB / 447.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.1969, allocations: 166.2 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1969, allocations: 0 / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1969, allocations: 5.906 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.197, allocations: 3.234 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.1971, allocations: 189.6 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1971, allocations: 0 / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.1971, allocations: 13.88 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1971, allocations: 0 / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1971, allocations: 10.69 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1971, allocations: 4.828 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1971, allocations: 0 / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.1973, allocations: 178.4 kB / 447.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.1973, allocations: 25.34 kB / 447.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1973, allocations: 6.5 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.1973, allocations: 20.56 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1974, allocations: 6.172 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1974, allocations: 12.52 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1975, allocations: 178.1 kB / 448.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1975, allocations: 0 / 448.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000217/0.1977, allocations: 56.69 kB / 448.2 MB, free: 41.04 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001139/0.1989, allocations: 1.162 MB / 449.3 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1991, allocations: 85.2 kB / 449.4 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1991, allocations: 5.219 kB / 449.4 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.685e-05/0.1991, allocations: 49.44 kB / 449.4 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.1994, allocations: 59.83 kB / 449.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.2009, allocations: 1.901 MB / 451.4 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.814e-05/0.201, allocations: 112 kB / 451.5 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.367e-05/0.2011, allocations: 35.66 kB / 451.6 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.2012, allocations: 63.25 kB / 451.6 MB, free: 39.02 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2012, allocations: 0 / 451.6 MB, free: 39.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.2209, allocations: 6.375 MB / 458 MB, free: 37.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/7.181, allocations: 7.125 kB / 458 MB, free: 37.32 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.335739843547344]