Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.0008406/0.0008406, 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.0009005/0.0009005, 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.9332/0.9332, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2523/0.2523, allocations: 32.79 MB / 293.5 MB, free: 1.219 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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.379e-05, allocations: 4.812 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.0023/0.002323, allocations: 1.72 MB / 441.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003481, allocations: 0.978 MB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.003562, allocations: 0 / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.003845, allocations: 51.75 kB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.004159, allocations: 103.5 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.004376, allocations: 75.67 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.004545, allocations: 119.5 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.004636, allocations: 4 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.004721, allocations: 47.89 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.004792, allocations: 27.91 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.004808, allocations: 4 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.641e-05/0.004895, allocations: 47.86 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.004955, allocations: 35.84 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.004994, allocations: 19.88 kB / 442.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.005178, allocations: 135.5 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.005181, allocations: 0 / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.005183, allocations: 3.984 kB / 443 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005188, allocations: 0 / 443 MB, free: 0.7773 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.0004382/0.005626, allocations: 377.2 kB / 443.4 MB, free: 388 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.005662, allocations: 12.03 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.005691, allocations: 38.69 kB / 443.5 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.005725, allocations: 12.84 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.005944, allocations: 162.5 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.005958, allocations: 4.375 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.005977, allocations: 8.375 kB / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.006096, allocations: 57.98 kB / 443.7 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006107, allocations: 0 / 443.7 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.006115, allocations: 4 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.00612, allocations: 0 / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.00617, allocations: 19.98 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1793/0.1854, allocations: 261.7 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.1856, allocations: 59.5 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.1856, allocations: 21.08 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.1856, allocations: 2.375 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.1858, allocations: 76.61 kB / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.1858, allocations: 0 / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004336/0.1862, allocations: 189.9 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.1862, allocations: 54.62 kB / 444.4 MB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.1864, allocations: 277.7 kB / 444.6 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.1864, allocations: 25.7 kB / 444.7 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.1864, allocations: 119.5 kB / 444.8 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1864, allocations: 21.08 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.1865, allocations: 23.62 kB / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.423e-05/0.1865, allocations: 328.4 kB / 445.1 MB, free: 45.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.1866, allocations: 25.38 kB / 445.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.1866, allocations: 40.8 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.698e-05/0.1867, allocations: 57.22 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1867, allocations: 3.297 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000114/0.1868, allocations: 115 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1868, allocations: 5.656 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1868, allocations: 0.5625 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1868, allocations: 2.969 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.1869, allocations: 19.08 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1869, allocations: 6.109 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.1869, allocations: 2.625 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1869, allocations: 6.844 kB / 445.4 MB, free: 45.52 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.511e-05/0.187, allocations: 141.7 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.187, allocations: 27.64 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.1872, allocations: 126 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1872, allocations: 2.594 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1872, allocations: 0 / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1872, allocations: 0 / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1874, allocations: 378.4 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1874, allocations: 0 / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.1875, allocations: 13.94 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1875, allocations: 3.562 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1875, allocations: 10.47 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1875, allocations: 0 / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1875, allocations: 0 / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1876, allocations: 219.3 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.1876, allocations: 13.25 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1876, allocations: 3.234 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.1877, allocations: 6.688 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.1877, allocations: 6.141 kB / 446.4 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1877, allocations: 9 kB / 446.4 MB, free: 44.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.364e-05/0.1878, allocations: 211.1 kB / 446.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1878, allocations: 0 / 446.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.188, allocations: 34.91 kB / 446.6 MB, free: 44.74 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.0009559/0.1889, allocations: 1.137 MB / 447.7 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1891, allocations: 68.81 kB / 447.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1891, allocations: 0 / 447.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/0.1891, allocations: 25.45 kB / 447.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1894, allocations: 27.75 kB / 447.9 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1904, allocations: 1.856 MB / 449.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.042e-05/0.1905, allocations: 111.8 kB / 449.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.1905, allocations: 21.34 kB / 449.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1906, allocations: 47.59 kB / 449.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.1906, allocations: 0 / 449.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.2084, allocations: 4.632 MB / 454.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.119, allocations: 0 / 454.5 MB, free: 41.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.266891062259674]