Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001159/0.001159, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.00131/0.00131, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.9139/0.9139, allocations: 158.6 MB / 185 MB, free: 3.031 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.1307/0.1307, allocations: 32.37 MB / 269.6 MB, free: 15.04 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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.519e-05, allocations: 6.281 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002183/0.002199, allocations: 1.687 MB / 408.6 MB, free: 464 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.003076, allocations: 0.7726 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.003148, allocations: 4 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.003422, allocations: 43.7 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.003615, allocations: 47.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.00382, allocations: 87.7 kB / 409.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.003958, allocations: 103.6 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.993e-05/0.004037, allocations: 4.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.004111, allocations: 51.84 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.004174, allocations: 35.86 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.00419, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.057e-05/0.00426, allocations: 43.86 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.004308, allocations: 19.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.004341, allocations: 19.92 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004493, allocations: 107.6 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004495, allocations: 3.938 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004496, allocations: 3.938 kB / 409.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.004499, allocations: 0 / 409.9 MB, free: 15.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003919/0.004891, allocations: 329.7 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001416/0.005033, allocations: 12.03 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.005057, allocations: 30.75 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.005085, allocations: 8.891 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.005265, allocations: 149.5 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.005276, allocations: 4.312 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.005293, allocations: 4.375 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.0054, allocations: 57.98 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.005409, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.005417, allocations: 3.984 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.005421, allocations: 4 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.005471, allocations: 23.98 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.005738, allocations: 259.9 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.005856, allocations: 58.62 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.005891, allocations: 20.84 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.005903, allocations: 3.984 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.006009, allocations: 67.39 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.00601, allocations: 0 / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003922/0.006402, allocations: 189.3 kB / 411.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.006432, allocations: 55.39 kB / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.006548, allocations: 170.3 kB / 411.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.006559, allocations: 29.7 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.006603, allocations: 104.1 kB / 411.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.006627, allocations: 23.8 kB / 411.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.006658, allocations: 25.7 kB / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.006753, allocations: 326.8 kB / 411.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.00679, allocations: 23.94 kB / 411.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.126e-05/0.006831, allocations: 37.7 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.006906, allocations: 65.69 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006908, allocations: 0 / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001164/0.007024, allocations: 105.5 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.007036, allocations: 11.59 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007041, allocations: 0 / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.007051, allocations: 0 / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.007112, allocations: 16.17 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.007118, allocations: 4 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.007146, allocations: 7.938 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.007153, allocations: 8.188 kB / 412.1 MB, free: 12.7 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 (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.535e-05/0.007219, allocations: 129.7 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.00723, allocations: 7.953 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.007386, allocations: 122.4 kB / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.007389, allocations: 4 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.007393, allocations: 0 / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007396, allocations: 0 / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.007697, allocations: 370.3 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.007698, allocations: 0 / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.007723, allocations: 16.41 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007724, allocations: 4 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.007732, allocations: 4 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007733, allocations: 0 / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.007737, allocations: 7.938 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.007871, allocations: 208.3 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.007882, allocations: 7.953 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.007898, allocations: 4 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.007939, allocations: 4 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.007968, allocations: 11.92 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.007982, allocations: 8 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.217e-05/0.008054, allocations: 136 kB / 413.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008054, allocations: 3.938 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.00824, allocations: 31.89 kB / 413.2 MB, free: 11.56 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 (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.00122/0.00946, allocations: 1.127 MB / 414.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.009594, allocations: 55.97 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.009596, allocations: 0 / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.009641, allocations: 35.92 kB / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.009879, allocations: 27.86 kB / 414.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.01103, allocations: 1.622 MB / 416.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.01109, allocations: 89.56 kB / 416.1 MB, free: 8.488 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.799e-05/0.01113, allocations: 12.48 kB / 416.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.01118, allocations: 36.48 kB / 416.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01118, allocations: 0 / 416.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.02638, allocations: 4.154 MB / 420.4 MB, free: 4.164 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/6.896, allocations: 15.83 kB / 420.4 MB, free: 4.148 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.028617851436138]