Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001294/0.001294, 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.001262/0.001262, 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.9135/0.9135, 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.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.2406/0.2406, allocations: 34.24 MB / 294.9 MB, free: 0.7188 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.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.027e-05, allocations: 4.25 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.2041/0.2041, allocations: 1.717 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2053, allocations: 0.9717 MB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.2054, allocations: 2.781 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.2057, allocations: 38.06 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.206, allocations: 95.25 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.2061, allocations: 81.17 kB / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2063, allocations: 106.8 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.2064, allocations: 15.95 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.2064, allocations: 56.78 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.2065, allocations: 22.23 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.2065, allocations: 5.875 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.31e-05/0.2066, allocations: 46.59 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.2067, allocations: 22.12 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.2067, allocations: 14 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.2069, allocations: 119.9 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2069, allocations: 3.938 kB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2069, allocations: 0 / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2069, allocations: 2.844 kB / 445.6 MB, free: 42.97 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.0004106/0.2073, allocations: 343.9 kB / 445.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2073, allocations: 8.656 kB / 445.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.522e-05/0.2074, allocations: 36.66 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.2074, allocations: 7.922 kB / 446 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.2076, allocations: 155.8 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2076, allocations: 3.281 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.2076, allocations: 3.469 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.2078, allocations: 56 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2078, allocations: 0 / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2078, allocations: 9.656 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2078, allocations: 3 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.2078, allocations: 22.05 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.2081, allocations: 258.9 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.2082, allocations: 51.92 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.2083, allocations: 20.64 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2083, allocations: 3.656 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.2084, allocations: 73.3 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.2084, allocations: 2.719 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004088/0.2088, allocations: 174.3 kB / 446.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.2089, allocations: 54.78 kB / 446.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.209, allocations: 181.5 kB / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.209, allocations: 28.2 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.209, allocations: 108.6 kB / 447.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.209, allocations: 28.41 kB / 447.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.2091, allocations: 24.06 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.2091, allocations: 330.9 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.2091, allocations: 25.66 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.496e-05/0.2092, allocations: 35.08 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.2093, allocations: 59.92 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2093, allocations: 0 / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001208/0.2094, allocations: 108 kB / 447.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2094, allocations: 5.25 kB / 447.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2094, allocations: 2.625 kB / 447.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2094, allocations: 3.5 kB / 447.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.2095, allocations: 17.09 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2095, allocations: 6.094 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.2095, allocations: 6.656 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2095, allocations: 2.938 kB / 447.8 MB, free: 41.36 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 6.61e-05/0.2096, allocations: 126.2 kB / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.2096, allocations: 9.828 kB / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.2098, allocations: 123.6 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2098, allocations: 6.938 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2098, allocations: 1.062 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2098, allocations: 0 / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.2101, allocations: 373.5 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2101, allocations: 5.562 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.2101, allocations: 8.094 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2101, allocations: 0 / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2101, allocations: 2.812 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2101, allocations: 3.969 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2101, allocations: 6.625 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.2103, allocations: 213.2 kB / 448.6 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.2103, allocations: 20.36 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2103, allocations: 2.594 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.2103, allocations: 0 / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.2104, allocations: 12.67 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2104, allocations: 6.719 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.726e-05/0.2104, allocations: 144.7 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2104, allocations: 3.938 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.2106, allocations: 27.72 kB / 448.9 MB, free: 40.59 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.001051/0.2117, allocations: 1.136 MB / 450 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2118, allocations: 60.56 kB / 450 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2118, allocations: 0 / 450 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.2119, allocations: 32.75 kB / 450.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2121, allocations: 34.72 kB / 450.1 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2132, allocations: 1.652 MB / 451.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.693e-05/0.2132, allocations: 85.34 kB / 451.9 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.2133, allocations: 23.75 kB / 451.9 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.2133, allocations: 33.47 kB / 451.9 MB, free: 38.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2133, allocations: 2.75 kB / 451.9 MB, free: 38.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.2319, allocations: 4.221 MB / 456.1 MB, free: 36.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.112, allocations: 6.75 kB / 456.1 MB, free: 36.92 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.256591713055968]