Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.0008685/0.0008685, allocations: 80.48 kB / 19.93 MB, free: 4.625 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.0009139/0.0009139, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8828/0.8828, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1451/0.1451, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.028e-05, allocations: 6.078 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002732/0.002763, allocations: 1.703 MB / 408.6 MB, free: 464 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.003686, allocations: 0.7804 MB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.003758, allocations: 3.938 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.004082, allocations: 107.7 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.004299, allocations: 91.62 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.004494, allocations: 95.56 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.004659, allocations: 119.7 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.004763, allocations: 15.98 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.121e-05/0.004854, allocations: 67.81 kB / 409.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.953e-05/0.004954, allocations: 71.8 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.004974, allocations: 4 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.005054, allocations: 47.91 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.005115, allocations: 31.91 kB / 410 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.005159, allocations: 27.86 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.00535, allocations: 135.5 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005354, allocations: 0 / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.005356, allocations: 3.938 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.00536, allocations: 3.938 kB / 410.2 MB, free: 14.85 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004829/0.005843, allocations: 373.4 kB / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.00589, allocations: 8.031 kB / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.005922, allocations: 34.75 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.005957, allocations: 20.84 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.006173, allocations: 169.2 kB / 410.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.006186, allocations: 8.359 kB / 410.8 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.006205, allocations: 4.375 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.00634, allocations: 73.97 kB / 410.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.006349, allocations: 3.938 kB / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.006358, allocations: 0 / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.006363, allocations: 0 / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.006446, allocations: 35.97 kB / 410.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.006778, allocations: 287.9 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.00693, allocations: 78.75 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.00697, allocations: 24.84 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.006985, allocations: 0 / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.007112, allocations: 79.38 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 2.254e-06/0.007114, allocations: 3.984 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004782/0.007592, allocations: 245.5 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.007624, allocations: 55.41 kB / 411.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.007794, allocations: 258.5 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.007806, allocations: 25.7 kB / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.007858, allocations: 116.1 kB / 412.1 MB, free: 12.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.007893, allocations: 35.73 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.007928, allocations: 25.72 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.008018, allocations: 334.8 kB / 412.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.008067, allocations: 31.92 kB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.00812, allocations: 53.7 kB / 412.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.008215, allocations: 81.7 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.008218, allocations: 8 kB / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001588/0.008377, allocations: 145.4 kB / 412.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.008391, allocations: 4 kB / 412.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008396, allocations: 0 / 412.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.008409, allocations: 4 kB / 412.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.008485, allocations: 23.92 kB / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.00849, allocations: 0 / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.00852, allocations: 11.94 kB / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.008529, allocations: 8.016 kB / 412.8 MB, free: 12.02 MB / 394.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 8.304e-05/0.008612, allocations: 137.9 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.008626, allocations: 11.91 kB / 413 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.00884, allocations: 171.1 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.008842, allocations: 0 / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.008847, allocations: 0 / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.008851, allocations: 0 / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.009214, allocations: 438.2 kB / 413.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009216, allocations: 3.938 kB / 413.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.00925, allocations: 19.98 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009253, allocations: 4.031 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.009265, allocations: 7.938 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.00927, allocations: 0 / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.009271, allocations: 0 / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.009438, allocations: 248.2 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.009453, allocations: 15.91 kB / 413.9 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.009474, allocations: 11.92 kB / 413.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.009514, allocations: 4 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.009547, allocations: 7.984 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.009562, allocations: 4 kB / 413.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.009669, allocations: 204 kB / 414.1 MB, free: 10.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009669, allocations: 0 / 414.1 MB, free: 10.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.009849, allocations: 35.92 kB / 414.1 MB, free: 10.64 MB / 394.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 (13): * Single equations (assignments): 11 * 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.001308/0.01116, allocations: 1.176 MB / 415.3 MB, free: 9.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.01132, allocations: 83.89 kB / 415.4 MB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01133, allocations: 3.938 kB / 415.4 MB, free: 9.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.808e-05/0.01139, allocations: 43.98 kB / 415.4 MB, free: 9.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.01164, allocations: 23.98 kB / 415.5 MB, free: 9.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.01309, allocations: 1.922 MB / 417.4 MB, free: 7.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.976e-05/0.01317, allocations: 117 kB / 417.5 MB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.327e-05/0.01322, allocations: 16.64 kB / 417.5 MB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.01329, allocations: 52.47 kB / 417.6 MB, free: 7.09 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01329, allocations: 0 / 417.6 MB, free: 7.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.03192, allocations: 4.803 MB / 422.4 MB, free: 2.156 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.069, allocations: 3.953 kB / 422.4 MB, free: 2.152 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.312978523783386]