Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.000853/0.000853, 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.001014/0.001014, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8904/0.8904, 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.2483/0.2483, allocations: 34.25 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.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.784e-05, allocations: 4.812 kB / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.2055/0.2056, allocations: 1.711 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.2072, allocations: 0.9821 MB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2074, allocations: 0 / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.2078, allocations: 53.11 kB / 445 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.2082, allocations: 104.8 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.2085, allocations: 69.33 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.2087, allocations: 117.6 kB / 445.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2088, allocations: 9.938 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.209, allocations: 54.5 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2091, allocations: 27.81 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2091, allocations: 5.438 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.2092, allocations: 41.39 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.2093, allocations: 34.77 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.2094, allocations: 20.12 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2096, allocations: 136.3 kB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2096, allocations: 3.656 kB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2096, allocations: 0 / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2096, allocations: 0 / 445.6 MB, free: 42.9 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.0005662/0.2102, allocations: 373.2 kB / 446 MB, free: 42.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.2103, allocations: 8.781 kB / 446 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.2103, allocations: 33.62 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.2103, allocations: 17.58 kB / 446 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.2106, allocations: 162.2 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2106, allocations: 3.219 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.2107, allocations: 4.016 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.2108, allocations: 58.19 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2108, allocations: 3.438 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2108, allocations: 6.688 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2108, allocations: 0 / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.307e-05/0.2109, allocations: 21.67 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.2112, allocations: 272 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.2114, allocations: 57.78 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.2114, allocations: 20.09 kB / 446.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2114, allocations: 2.594 kB / 446.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.2115, allocations: 76.98 kB / 446.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.2115, allocations: 0 / 446.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004652/0.212, allocations: 194.7 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.212, allocations: 51.41 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.2122, allocations: 272.2 kB / 447.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2122, allocations: 31.36 kB / 447.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2123, allocations: 114 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.2123, allocations: 25.08 kB / 447.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.2123, allocations: 28.19 kB / 447.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.2124, allocations: 333.5 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.2124, allocations: 26.58 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.2125, allocations: 33.05 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.2125, allocations: 59.38 kB / 447.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2125, allocations: 0 / 447.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000128/0.2127, allocations: 115.4 kB / 448 MB, free: 41.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2127, allocations: 5.406 kB / 448 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2127, allocations: 4.031 kB / 448 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2127, allocations: 3.469 kB / 448 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.2128, allocations: 17.19 kB / 448 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2128, allocations: 2.156 kB / 448 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.2128, allocations: 6.109 kB / 448 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2128, allocations: 6.625 kB / 448 MB, free: 41.23 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 7.664e-05/0.2129, allocations: 137.2 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2129, allocations: 19.98 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.2131, allocations: 127.3 kB / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2131, allocations: 0 / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2131, allocations: 6.75 kB / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2131, allocations: 0 / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.2135, allocations: 380.8 kB / 448.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2135, allocations: 2.938 kB / 448.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.2135, allocations: 12.23 kB / 448.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2135, allocations: 0 / 448.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2135, allocations: 0 / 448.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2135, allocations: 6.469 kB / 448.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2135, allocations: 3.938 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.2136, allocations: 224.1 kB / 448.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.2137, allocations: 17.31 kB / 448.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.2137, allocations: 5.953 kB / 448.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.2137, allocations: 2.844 kB / 448.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.2138, allocations: 14.22 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.2138, allocations: 3.125 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.2139, allocations: 207.9 kB / 449.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2139, allocations: 0 / 449.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000208/0.2141, allocations: 25.12 kB / 449.2 MB, free: 40.41 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.001164/0.2153, allocations: 1.153 MB / 450.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.2154, allocations: 56.83 kB / 450.4 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2154, allocations: 3.938 kB / 450.4 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.2155, allocations: 28.48 kB / 450.4 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2158, allocations: 39.95 kB / 450.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2171, allocations: 1.845 MB / 452.3 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.415e-05/0.2172, allocations: 108 kB / 452.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.573e-05/0.2173, allocations: 17.16 kB / 452.4 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.2173, allocations: 47.53 kB / 452.5 MB, free: 38.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2173, allocations: 0 / 452.5 MB, free: 38.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.235, allocations: 4.612 MB / 457.1 MB, free: 36.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/7.088, allocations: 6.484 kB / 457.1 MB, free: 36.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.19229385908693]