Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.0008111/0.0008111, 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.0008286/0.0008286, 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.8918/0.8918, allocations: 177.1 MB / 204.3 MB, free: 5.699 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.2309/0.2309, allocations: 32.8 MB / 293.5 MB, free: 1.195 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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 439.7 MB, free: 4.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.447e-05, allocations: 2.281 kB / 439.7 MB, free: 4.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003588/0.003612, allocations: 1.72 MB / 441.4 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.00628, allocations: 1.664 MB / 443.1 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.006404, allocations: 0 / 443.1 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.006804, allocations: 47.64 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.007326, allocations: 99.53 kB / 443.2 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.00761, allocations: 83.59 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.00783, allocations: 111.6 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.007946, allocations: 4 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.008083, allocations: 63.75 kB / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.008222, allocations: 39.89 kB / 443.5 MB, free: 296 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.008245, allocations: 4 kB / 443.5 MB, free: 292 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.008471, allocations: 99.81 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.008538, allocations: 19.92 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.008584, allocations: 19.94 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1752/0.1838, allocations: 182.1 kB / 443.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1838, allocations: 5.719 kB / 443.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1838, allocations: 0 / 443.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1838, allocations: 0 / 443.8 MB, free: 43.47 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.000424/0.1842, allocations: 348.2 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1843, allocations: 8.438 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.154e-05/0.1843, allocations: 32.25 kB / 444.2 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.1843, allocations: 17.12 kB / 444.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.1845, allocations: 148.8 kB / 444.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1845, allocations: 3.969 kB / 444.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.1846, allocations: 1.188 kB / 444.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1847, allocations: 101.5 kB / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1847, allocations: 0 / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1847, allocations: 7.562 kB / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1847, allocations: 0 / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.1848, allocations: 25.11 kB / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.185, allocations: 250.3 kB / 444.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1851, allocations: 58.34 kB / 444.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.1851, allocations: 21.61 kB / 444.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1851, allocations: 3.094 kB / 444.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.993e-05/0.1852, allocations: 70.05 kB / 444.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1852, allocations: 1.688 kB / 444.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003682/0.1856, allocations: 187.5 kB / 445.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1856, allocations: 79.98 kB / 445.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.1857, allocations: 175.5 kB / 445.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.1857, allocations: 25.7 kB / 445.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.1857, allocations: 97.77 kB / 445.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.1858, allocations: 27.45 kB / 445.5 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.1858, allocations: 25.61 kB / 445.5 MB, free: 42.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.765e-05/0.1858, allocations: 324.6 kB / 445.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.1859, allocations: 23.67 kB / 445.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/0.1859, allocations: 65.84 kB / 445.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.1859, allocations: 64.56 kB / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.186, allocations: 2.438 kB / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.492e-05/0.186, allocations: 106.9 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.1861, allocations: 5.375 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1861, allocations: 3.203 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1861, allocations: 0 / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.1861, allocations: 17.16 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1861, allocations: 3.188 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.1862, allocations: 8.344 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1862, allocations: 6.703 kB / 446.1 MB, free: 41.8 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.542e-05/0.1862, allocations: 130 kB / 446.2 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.1862, allocations: 9.172 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.1864, allocations: 120.6 kB / 446.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1864, allocations: 3 kB / 446.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1864, allocations: 0 / 446.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1864, allocations: 0 / 446.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1866, allocations: 377.7 kB / 446.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1866, allocations: 0 / 446.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.1866, allocations: 13.84 kB / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1866, allocations: 0 / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1866, allocations: 6.812 kB / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1866, allocations: 3.938 kB / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1866, allocations: 3.594 kB / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.754e-05/0.1867, allocations: 208.7 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.1867, allocations: 13.83 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.1867, allocations: 6.75 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.1868, allocations: 6.656 kB / 447 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1868, allocations: 12.47 kB / 447 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1868, allocations: 2.938 kB / 447 MB, free: 41.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.846e-05/0.1869, allocations: 131.9 kB / 447.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1869, allocations: 0 / 447.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.1871, allocations: 49.12 kB / 447.2 MB, free: 41.14 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.0009147/0.188, allocations: 1.246 MB / 448.4 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.1881, allocations: 61.97 kB / 448.5 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.1881, allocations: 2.75 kB / 448.5 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.1881, allocations: 34.48 kB / 448.5 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.1883, allocations: 31.92 kB / 448.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.1892, allocations: 1.618 MB / 450.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.1892, allocations: 83.25 kB / 450.3 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.322e-05/0.1892, allocations: 20.66 kB / 450.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.1893, allocations: 43.66 kB / 450.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1893, allocations: 0 / 450.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.2059, allocations: 4.902 MB / 455.2 MB, free: 37.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.207, allocations: 2.625 kB / 455.2 MB, free: 37.51 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_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_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.283338552340865]