Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.0008615/0.0008615, 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.001163/0.001163, allocations: 170.3 kB / 23.21 MB, free: 1.348 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.954/0.954, allocations: 158.6 MB / 185 MB, free: 3.047 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.1408/0.1408, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.975e-05, allocations: 6.281 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002182/0.002202, allocations: 1.687 MB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.003131, allocations: 0.7765 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.003201, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.003492, allocations: 47.7 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.003682, allocations: 55.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.003887, allocations: 87.69 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.004029, allocations: 95.64 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.004115, allocations: 8.219 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.004189, allocations: 55.83 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.593e-05/0.004255, allocations: 19.92 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.004271, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.004346, allocations: 47.86 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.004397, allocations: 23.91 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.004436, allocations: 23.92 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.004595, allocations: 115.6 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004597, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004598, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.004603, allocations: 0 / 410 MB, free: 15.09 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.0003994/0.005002, allocations: 333.7 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.005037, allocations: 12.03 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.005067, allocations: 30.75 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.005097, allocations: 12.84 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.005269, allocations: 146.2 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.005282, allocations: 8.375 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.005299, allocations: 8.312 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.00541, allocations: 57.98 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.00542, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.005428, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.005432, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.005479, allocations: 19.98 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.005758, allocations: 252 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.005881, allocations: 62.61 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.005914, allocations: 24.84 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.005926, allocations: 0 / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.006034, allocations: 75.34 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.006035, allocations: 0 / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003846/0.00642, allocations: 189.3 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.006447, allocations: 51.41 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.006565, allocations: 198.2 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.006575, allocations: 29.7 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.006616, allocations: 100.1 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.006639, allocations: 27.78 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.006669, allocations: 25.72 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.006748, allocations: 330.8 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.006782, allocations: 19.98 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.006821, allocations: 37.64 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.918e-05/0.006891, allocations: 61.7 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006892, allocations: 0 / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001085/0.007, allocations: 105.6 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.007011, allocations: 4 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.007015, allocations: 4.109 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.007026, allocations: 4 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.007086, allocations: 16.17 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007091, allocations: 3.984 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.007118, allocations: 7.938 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.007122, allocations: 0 / 412.2 MB, free: 12.68 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.964e-05/0.007192, allocations: 137.7 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.007202, allocations: 7.953 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.007351, allocations: 118.4 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007353, allocations: 4 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.007358, allocations: 4 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.007364, allocations: 3.984 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.00764, allocations: 366.3 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007641, allocations: 0 / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.007663, allocations: 15.98 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.007664, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.007675, allocations: 4 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007678, allocations: 4.375 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.00768, allocations: 3.938 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.007806, allocations: 208.3 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.007818, allocations: 15.89 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.007834, allocations: 8 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.007871, allocations: 7.938 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.0079, allocations: 11.92 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.007912, allocations: 4 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.007987, allocations: 148.1 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007987, allocations: 0 / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.008155, allocations: 19.94 kB / 413.2 MB, free: 11.52 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.001191/0.009346, allocations: 1.136 MB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.009468, allocations: 59.97 kB / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009469, allocations: 0 / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.009513, allocations: 35.97 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.009743, allocations: 28.23 kB / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.01091, allocations: 1.654 MB / 416.2 MB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.904e-05/0.01097, allocations: 88.31 kB / 416.2 MB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.987e-05/0.01101, allocations: 20.55 kB / 416.3 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.01106, allocations: 36.48 kB / 416.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01106, allocations: 0 / 416.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.02811, allocations: 4.195 MB / 420.5 MB, free: 4.023 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.048, allocations: 11.78 kB / 420.5 MB, free: 4.012 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.297007152810693]