Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.0009719/0.0009719, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0008837/0.0008837, allocations: 166 kB / 23.95 MB, free: 0.5977 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.8823/0.8823, 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/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2687/0.2687, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/3.045e-05, allocations: 5.094 kB / 442.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.1981/0.1981, allocations: 1.726 MB / 444 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1994, allocations: 0.9776 MB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1995, allocations: 2.594 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.1999, allocations: 83.5 kB / 445.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.2003, allocations: 126.3 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.2005, allocations: 80.53 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.2007, allocations: 126.3 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2008, allocations: 6.688 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.124e-05/0.2009, allocations: 63.97 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.201, allocations: 55 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.201, allocations: 6.281 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2011, allocations: 67.45 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.2012, allocations: 31.86 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.2013, allocations: 24.77 kB / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.2015, allocations: 139.2 kB / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2015, allocations: 0 / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2015, allocations: 0 / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2015, allocations: 0 / 445.8 MB, free: 42.96 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.0004935/0.202, allocations: 356.2 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.202, allocations: 10.59 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.202, allocations: 40.38 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.2021, allocations: 14.19 kB / 446.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.2023, allocations: 156.5 kB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2024, allocations: 10 kB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.2024, allocations: 6.094 kB / 446.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2025, allocations: 63.7 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2025, allocations: 0.7969 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2026, allocations: 3.375 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2026, allocations: 2.344 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.2026, allocations: 24.72 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.203, allocations: 274.5 kB / 446.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.2032, allocations: 68.12 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.2032, allocations: 25.45 kB / 446.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2032, allocations: 0 / 446.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.2034, allocations: 69.7 kB / 446.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.2034, allocations: 2.875 kB / 446.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006003/0.204, allocations: 250.7 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.204, allocations: 58.19 kB / 447.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2041, allocations: 218.9 kB / 447.4 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2042, allocations: 29.2 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.2042, allocations: 109.8 kB / 447.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.2042, allocations: 32.78 kB / 447.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.2043, allocations: 26 kB / 447.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.2043, allocations: 334.7 kB / 447.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.2043, allocations: 29.23 kB / 447.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.2044, allocations: 52.25 kB / 448 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.639e-05/0.2045, allocations: 80.78 kB / 448.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2045, allocations: 3.938 kB / 448.1 MB, free: 41.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001401/0.2046, allocations: 131.9 kB / 448.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2046, allocations: 6.219 kB / 448.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2046, allocations: 0 / 448.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2047, allocations: 0 / 448.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.2047, allocations: 24.39 kB / 448.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2047, allocations: 6.375 kB / 448.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.2047, allocations: 14.19 kB / 448.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2048, allocations: 6.812 kB / 448.3 MB, free: 41.25 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 (13): * Single equations (assignments): 13 * 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 6.4e-05/0.2048, allocations: 130.6 kB / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.2048, allocations: 13.69 kB / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.205, allocations: 153.7 kB / 448.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.205, allocations: 0 / 448.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2051, allocations: 2.781 kB / 448.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.2051, allocations: 4.688 kB / 448.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.2054, allocations: 428.4 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.2054, allocations: 0 / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.2055, allocations: 18.25 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2055, allocations: 3.938 kB / 449 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2055, allocations: 9.969 kB / 449 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2055, allocations: 0 / 449 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2055, allocations: 2.75 kB / 449 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.2056, allocations: 241.1 kB / 449.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.2056, allocations: 10.66 kB / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.2057, allocations: 17.17 kB / 449.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.2057, allocations: 6.75 kB / 449.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.2057, allocations: 10.31 kB / 449.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.2058, allocations: 7.719 kB / 449.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.581e-05/0.2058, allocations: 175.6 kB / 449.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2058, allocations: 0 / 449.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.206, allocations: 28.09 kB / 449.5 MB, free: 40.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001229/0.2073, allocations: 1.224 MB / 450.7 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.2074, allocations: 85.09 kB / 450.8 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2074, allocations: 0 / 450.8 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.2075, allocations: 41.84 kB / 450.8 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2078, allocations: 36.45 kB / 450.9 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.209, allocations: 1.829 MB / 452.7 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.282e-05/0.2091, allocations: 110.9 kB / 452.8 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.72e-05/0.2091, allocations: 27.42 kB / 452.8 MB, free: 37.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.2092, allocations: 43.59 kB / 452.9 MB, free: 37.94 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2092, allocations: 0 / 452.9 MB, free: 37.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.2281, allocations: 4.706 MB / 457.6 MB, free: 36.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.085, allocations: 17.64 kB / 457.6 MB, free: 36.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.222110298462212]