Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001732/0.001732, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00219/0.00219, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.497/1.497, 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.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.2265/0.2265, allocations: 44.94 MB / 358.9 MB, free: 6.035 MB / 286.1 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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 67.91 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3916, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003289/0.3949, allocations: 1.711 MB / 0.5587 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3966, allocations: 0.9676 MB / 0.5596 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.3967, allocations: 3.938 kB / 0.5597 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.397, allocations: 87.69 kB / 0.5597 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.3973, allocations: 115.5 kB / 0.5598 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3975, allocations: 83.66 kB / 0.5599 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3977, allocations: 115.7 kB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.3978, allocations: 9.828 kB / 0.56 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.3979, allocations: 51.72 kB / 0.5601 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.398, allocations: 67.8 kB / 0.5602 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.398, allocations: 4 kB / 0.5602 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.3981, allocations: 51.91 kB / 0.5602 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.3982, allocations: 19.92 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.3983, allocations: 31.75 kB / 0.5603 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.3985, allocations: 123.5 kB / 0.5604 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3985, allocations: 0 / 0.5604 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3985, allocations: 0 / 0.5604 GB, free: 4.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.3985, allocations: 0 / 0.5604 GB, free: 4.074 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005339/0.399, allocations: 361.3 kB / 0.5607 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3991, allocations: 16.03 kB / 0.5607 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.3991, allocations: 34.75 kB / 0.5608 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.3991, allocations: 12.84 kB / 0.5608 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.3994, allocations: 158.3 kB / 0.5609 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3994, allocations: 4.375 kB / 0.5609 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3994, allocations: 7.938 kB / 0.5609 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3996, allocations: 53.67 kB / 0.561 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3996, allocations: 4 kB / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3996, allocations: 0 / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3996, allocations: 0 / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.3997, allocations: 27.92 kB / 0.561 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.4001, allocations: 259.9 kB / 0.5613 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.4003, allocations: 58.67 kB / 0.5613 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.4003, allocations: 20.84 kB / 0.5614 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4003, allocations: 4 kB / 0.5614 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.4005, allocations: 67.33 kB / 0.5614 GB, free: 2.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4005, allocations: 0 / 0.5614 GB, free: 2.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006108/0.4011, allocations: 189.3 kB / 0.5616 GB, free: 2.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.4012, allocations: 55.41 kB / 0.5617 GB, free: 2.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.4014, allocations: 231.4 kB / 0.5619 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.4015, allocations: 25.7 kB / 0.5619 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.4016, allocations: 112.1 kB / 0.562 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.4016, allocations: 27.78 kB / 0.562 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.4017, allocations: 21.72 kB / 0.5621 GB, free: 2.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4019, allocations: 326.8 kB / 0.5624 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.4019, allocations: 19.98 kB / 0.5624 GB, free: 1.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.402, allocations: 33.7 kB / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.4021, allocations: 69.64 kB / 0.5625 GB, free: 1.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4021, allocations: 0 / 0.5625 GB, free: 1.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002234/0.4024, allocations: 109.6 kB / 0.5626 GB, free: 1.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4024, allocations: 7.938 kB / 0.5626 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.4024, allocations: 384 / 0.5626 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4024, allocations: 4 kB / 0.5626 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4025, allocations: 19.92 kB / 0.5626 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4025, allocations: 4 kB / 0.5626 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.4026, allocations: 8.125 kB / 0.5626 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.4026, allocations: 4 kB / 0.5626 GB, free: 1.547 MB / 398.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 (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 0.000147/0.4027, allocations: 137.1 kB / 0.5628 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.4027, allocations: 15.91 kB / 0.5628 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.403, allocations: 127.1 kB / 0.5629 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.403, allocations: 4 kB / 0.5629 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.403, allocations: 0 / 0.5629 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.403, allocations: 3.938 kB / 0.5629 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.4036, allocations: 366.4 kB / 0.5633 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4036, allocations: 0 / 0.5633 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.4037, allocations: 15.98 kB / 0.5633 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4037, allocations: 7.969 kB / 0.5633 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.4037, allocations: 7.938 kB / 0.5633 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4037, allocations: 4 kB / 0.5633 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4037, allocations: 0 / 0.5633 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.404, allocations: 212.2 kB / 0.5635 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.404, allocations: 15.89 kB / 0.5635 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.404, allocations: 7.938 kB / 0.5635 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.4041, allocations: 4 kB / 0.5635 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.4042, allocations: 11.97 kB / 0.5635 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4042, allocations: 4 kB / 0.5635 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.4044, allocations: 173.2 kB / 0.5637 GB, free: 372 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4044, allocations: 0 / 0.5637 GB, free: 372 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000276/0.4046, allocations: 23.94 kB / 0.5637 GB, free: 348 kB / 398.1 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.00253/0.4072, allocations: 1.149 MB / 0.5648 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4074, allocations: 55.92 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4074, allocations: 0 / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.4075, allocations: 35.92 kB / 0.5649 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.4078, allocations: 29.34 kB / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.41, allocations: 1.713 MB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.4101, allocations: 104.7 kB / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.103e-05/0.4102, allocations: 24.95 kB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.4103, allocations: 39.42 kB / 0.5668 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4103, allocations: 0 / 0.5668 GB, free: 13.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.4412, allocations: 4.259 MB / 0.571 GB, free: 9.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.72, allocations: 2.578 kB / 0.571 GB, free: 9.082 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.021859779022634]