Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 110.4 kB / 21.1 MB, free: 0.7891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 206 kB / 24.38 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.2 MB / 257.7 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 46.89 MB / 361 MB, free: 4.469 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 83.84 kB / 0.4962 GB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3917, allocations: 66.02 MB / 0.5607 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003596/0.3953, allocations: 1.639 MB / 0.5623 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3964, allocations: 0.5498 MB / 0.5628 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.3965, allocations: 0 / 0.5628 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.3968, allocations: 79.7 kB / 0.5629 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.3971, allocations: 107.6 kB / 0.563 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3974, allocations: 90.88 kB / 0.5631 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3976, allocations: 87.75 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3977, allocations: 13.81 kB / 0.5632 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.3978, allocations: 43.84 kB / 0.5632 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.398, allocations: 59.8 kB / 0.5633 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.398, allocations: 4 kB / 0.5633 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3981, allocations: 47.92 kB / 0.5633 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.3981, allocations: 27.86 kB / 0.5633 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.3982, allocations: 35.73 kB / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3984, allocations: 99.52 kB / 0.5635 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3984, allocations: 0 / 0.5635 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3984, allocations: 0 / 0.5635 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3984, allocations: 0 / 0.5635 GB, free: 1.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006004/0.399, allocations: 422.7 kB / 0.5639 GB, free: 1.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.3991, allocations: 15.97 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.3991, allocations: 34.75 kB / 0.5639 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.3992, allocations: 12.84 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3994, allocations: 208.8 kB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3994, allocations: 4.375 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3995, allocations: 384 / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3996, allocations: 54.23 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3996, allocations: 7.938 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.3997, allocations: 7.938 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3997, allocations: 0 / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3998, allocations: 27.97 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.4002, allocations: 288.8 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.4004, allocations: 42.5 kB / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.4004, allocations: 24.94 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.4004, allocations: 0 / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4005, allocations: 30.56 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4005, allocations: 0 / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009156/0.4014, allocations: 241.7 kB / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.4015, allocations: 55.41 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.4017, allocations: 206.4 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.4017, allocations: 25.7 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.4018, allocations: 108.1 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.4019, allocations: 31.73 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.4019, allocations: 21.72 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4021, allocations: 330.8 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.4021, allocations: 23.98 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.4022, allocations: 27.97 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.4024, allocations: 60.77 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4024, allocations: 4 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002062/0.4026, allocations: 97.53 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4026, allocations: 8 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4026, allocations: 7.938 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4026, allocations: 0 / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.4027, allocations: 15.98 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4027, allocations: 0 / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.4028, allocations: 11.92 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4028, allocations: 7.938 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001197/0.4029, allocations: 127.1 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.4029, allocations: 19.91 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.4032, allocations: 111 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4032, allocations: 0 / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4032, allocations: 0 / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4032, allocations: 3.984 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.4038, allocations: 419.2 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4038, allocations: 4 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.4039, allocations: 19.92 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4039, allocations: 0 / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4039, allocations: 7.938 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4039, allocations: 0 / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4039, allocations: 0 / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.4042, allocations: 208.8 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.4042, allocations: 89.02 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.4042, allocations: 3.938 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.4043, allocations: 4 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.4044, allocations: 15.92 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.4044, allocations: 0 / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.4045, allocations: 168.2 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4045, allocations: 0 / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.4048, allocations: 31.92 kB / 0.567 GB, free: 13.67 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002177/0.407, allocations: 1.076 MB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.4072, allocations: 63.89 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4072, allocations: 0 / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/0.4073, allocations: 35.91 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.4077, allocations: 28.55 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4096, allocations: 1.665 MB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.41, allocations: 0.7119 MB / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.41, allocations: 16.95 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.4101, allocations: 35.42 kB / 0.5705 GB, free: 10.07 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4101, allocations: 0 / 0.5705 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.436, allocations: 3.168 MB / 0.5736 GB, free: 6.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.329, allocations: 10.98 kB / 0.5737 GB, free: 6.898 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.495910773053765]