Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001576/0.001576, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001719/0.001719, allocations: 204 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.245/0.245, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.91 kB / 0.4962 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3942, allocations: 66.04 MB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003307/0.3975, allocations: 1.736 MB / 0.5624 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.3994, allocations: 0.9676 MB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/0.3995, allocations: 7.938 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.3998, allocations: 91.69 kB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.4002, allocations: 115.6 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.4004, allocations: 79.67 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.4007, allocations: 127.6 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.4008, allocations: 13.81 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.4009, allocations: 55.77 kB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.401, allocations: 63.8 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.401, allocations: 8 kB / 0.5638 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.4012, allocations: 59.98 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.4012, allocations: 23.86 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.4013, allocations: 39.72 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.4016, allocations: 139.4 kB / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4016, allocations: 0 / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4016, allocations: 0 / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.4016, allocations: 4 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006579/0.4023, allocations: 361.4 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4023, allocations: 12.03 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.4024, allocations: 34.69 kB / 0.5645 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.4024, allocations: 28.83 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.4028, allocations: 154.2 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.4028, allocations: 384 / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.4028, allocations: 11.94 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.403, allocations: 57.67 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.403, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.403, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.403, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.4031, allocations: 27.97 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.4036, allocations: 267.9 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.4039, allocations: 70.48 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.4039, allocations: 16.98 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.4039, allocations: 3.938 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.4041, allocations: 79.42 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.4041, allocations: 0 / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008179/0.4049, allocations: 249.2 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.405, allocations: 55.34 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.4053, allocations: 231.5 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.4053, allocations: 33.7 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.4053, allocations: 104.1 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.4054, allocations: 43.66 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.4054, allocations: 25.72 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4056, allocations: 326.8 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.4057, allocations: 31.98 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.4058, allocations: 41.7 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.4059, allocations: 89.69 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4059, allocations: 4 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000236/0.4062, allocations: 125.6 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4062, allocations: 4 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4062, allocations: 7.984 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.4062, allocations: 0 / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.759e-05/0.4063, allocations: 27.81 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4063, allocations: 4 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.4064, allocations: 7.984 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4064, allocations: 4 kB / 0.5665 GB, free: 13.96 MB / 414.1 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 0.0001679/0.4065, allocations: 134.4 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.4066, allocations: 19.89 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.4069, allocations: 154.9 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4069, allocations: 3.938 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4069, allocations: 7.984 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4069, allocations: 0 / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.4076, allocations: 415.2 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4076, allocations: 3.984 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.4076, allocations: 16.06 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4076, allocations: 4 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.4076, allocations: 8 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4076, allocations: 0 / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4076, allocations: 0.7031 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.408, allocations: 253 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.408, allocations: 11.91 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.408, allocations: 7.984 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.4081, allocations: 8 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.4082, allocations: 7.984 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.4082, allocations: 8 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.4084, allocations: 173.1 kB / 0.5677 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4084, allocations: 0 / 0.5677 GB, free: 12.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.4087, allocations: 31.94 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002665/0.4113, allocations: 1.226 MB / 0.5689 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.4116, allocations: 79.89 kB / 0.569 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4116, allocations: 0 / 0.569 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.4117, allocations: 43.98 kB / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.4121, allocations: 36.39 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.4143, allocations: 1.829 MB / 0.5709 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.4144, allocations: 101.8 kB / 0.571 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.107e-05/0.4145, allocations: 28.53 kB / 0.571 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.4146, allocations: 47.42 kB / 0.571 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4146, allocations: 0 / 0.571 GB, free: 9.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.4449, allocations: 4.601 MB / 0.5755 GB, free: 4.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.32, allocations: 9.078 kB / 0.5755 GB, free: 4.793 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.515130223007873]