Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001373/0.001373, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001474/0.001474, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.75 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.2374/0.2374, allocations: 46.96 MB / 360.9 MB, free: 4.055 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 75.88 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3536, allocations: 66.03 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003787/0.3574, allocations: 1.649 MB / 0.5622 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3586, allocations: 0.5505 MB / 0.5628 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.3587, allocations: 0 / 0.5628 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006168/0.3593, allocations: 463.1 kB / 0.5632 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.3598, allocations: 287.3 kB / 0.5635 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.3603, allocations: 183 kB / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.3606, allocations: 175.6 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3607, allocations: 13.83 kB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.3608, allocations: 115.7 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.3611, allocations: 247.5 kB / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.3612, allocations: 4 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.3613, allocations: 35.98 kB / 0.5642 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3614, allocations: 87.69 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.3615, allocations: 71.23 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.3618, allocations: 278.5 kB / 0.5646 GB, free: 128 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3618, allocations: 0 / 0.5646 GB, free: 128 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3618, allocations: 0 / 0.5646 GB, free: 128 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3618, allocations: 0 / 0.5646 GB, free: 128 kB / 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.0008614/0.3627, allocations: 0.5854 MB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3627, allocations: 8.031 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.3628, allocations: 34.75 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.3629, allocations: 40.66 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.3632, allocations: 254.8 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3632, allocations: 8.312 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3632, allocations: 384 / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3634, allocations: 65.55 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3634, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3634, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3634, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3635, allocations: 35.97 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.3641, allocations: 363.7 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.3644, allocations: 50.5 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.3644, allocations: 16.94 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3645, allocations: 7.938 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3645, allocations: 30.56 kB / 0.5661 GB, free: 14.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3645, allocations: 0 / 0.5661 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007143/0.3652, allocations: 244.6 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.3653, allocations: 55.41 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009833/0.3662, allocations: 0.8854 MB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3663, allocations: 25.7 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.3665, allocations: 220.1 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.3665, allocations: 23.8 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.3665, allocations: 21.7 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002847/0.3668, allocations: 358.8 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.3669, allocations: 19.98 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.367, allocations: 32.03 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3671, allocations: 60.77 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3671, allocations: 0 / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002428/0.3674, allocations: 117.4 kB / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3674, allocations: 4 kB / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3674, allocations: 4 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3674, allocations: 0 / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.3675, allocations: 12 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3675, allocations: 0 / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.3676, allocations: 15.92 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3676, allocations: 4 kB / 0.5681 GB, free: 12.36 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 (5): * Single equations (assignments): 5 * 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.0002181/0.3678, allocations: 217.7 kB / 0.5683 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.3678, allocations: 47.67 kB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.3681, allocations: 141.2 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3682, allocations: 0 / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3682, allocations: 0 / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3682, allocations: 7.938 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.3688, allocations: 441.6 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3688, allocations: 4 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.3689, allocations: 12.3 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3689, allocations: 3.938 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3689, allocations: 7.938 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3689, allocations: 0 / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3689, allocations: 7.938 kB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.3692, allocations: 215.2 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.3692, allocations: 39.72 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3693, allocations: 3.938 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.3693, allocations: 11.92 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.3694, allocations: 4 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3694, allocations: 0 / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006831/0.3701, allocations: 0.6628 MB / 0.5699 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3701, allocations: 0 / 0.5699 GB, free: 10.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3703, allocations: 31.88 kB / 0.5699 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002237/0.3726, allocations: 1.081 MB / 0.571 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3728, allocations: 59.89 kB / 0.571 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3728, allocations: 0 / 0.571 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.593e-05/0.3729, allocations: 23.98 kB / 0.571 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.3733, allocations: 31.3 kB / 0.5711 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.3774, allocations: 3.283 MB / 0.5743 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.3777, allocations: 224.1 kB / 0.5745 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.974e-05/0.3777, allocations: 12.66 kB / 0.5745 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3779, allocations: 119.4 kB / 0.5746 GB, free: 5.664 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3779, allocations: 0 / 0.5746 GB, free: 5.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.4119, allocations: 6.625 MB / 0.5811 GB, free: 15.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.91, allocations: 13.52 kB / 0.5811 GB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.025031371973455]