Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.00176/0.00176, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001888/0.001888, allocations: 208.1 kB / 23.73 MB, free: 4.391 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2652/0.2652, allocations: 46.95 MB / 360.8 MB, free: 3.902 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.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 79.86 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3493, allocations: 66.09 MB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003347/0.3526, allocations: 1.636 MB / 0.5623 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3548, allocations: 1.239 MB / 0.5635 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.3548, allocations: 4 kB / 0.5635 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.3551, allocations: 27.78 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.3554, allocations: 91.61 kB / 0.5636 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.3557, allocations: 135 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3559, allocations: 75.75 kB / 0.5638 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.356, allocations: 13.83 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.3561, allocations: 31.86 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.3562, allocations: 35.83 kB / 0.5639 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3562, allocations: 4 kB / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.3564, allocations: 95.88 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.3565, allocations: 19.92 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.3565, allocations: 23.86 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.3568, allocations: 151.4 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3568, allocations: 0 / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3568, allocations: 3.938 kB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3568, allocations: 0 / 0.5642 GB, free: 432 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.0006022/0.3574, allocations: 345.6 kB / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3575, allocations: 12.03 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/0.3575, allocations: 34.83 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3576, allocations: 8.891 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3578, allocations: 138.3 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3578, allocations: 4.375 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3578, allocations: 4.328 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.3581, allocations: 105.6 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3581, allocations: 3.938 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.3581, allocations: 0 / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3581, allocations: 8 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3583, allocations: 39.95 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.3586, allocations: 251.9 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.3588, allocations: 46.48 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.3589, allocations: 20.94 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3589, allocations: 7.938 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3589, allocations: 30.56 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3589, allocations: 4 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007784/0.3597, allocations: 217.3 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.3598, allocations: 77.11 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3599, allocations: 152.9 kB / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.36, allocations: 33.7 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.36, allocations: 96.12 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.3601, allocations: 27.75 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.3601, allocations: 17.72 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3603, allocations: 326.8 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3604, allocations: 31.97 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.3606, allocations: 75.33 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.3608, allocations: 76.83 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3608, allocations: 0 / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002769/0.3611, allocations: 113.8 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3611, allocations: 8 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3611, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3611, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3612, allocations: 23.98 kB / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3612, allocations: 4.062 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.3613, allocations: 15.92 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3613, allocations: 0 / 0.5665 GB, free: 13.88 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 (7): * Single equations (assignments): 7 * 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.0001033/0.3614, allocations: 117.8 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.3615, allocations: 11.94 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.3618, allocations: 130.3 kB / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3618, allocations: 0 / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3618, allocations: 0 / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3618, allocations: 0 / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.3624, allocations: 361.5 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3624, allocations: 0 / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.3625, allocations: 23.98 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3625, allocations: 3.984 kB / 0.5671 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3625, allocations: 8 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3625, allocations: 7.875 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3625, allocations: 0 / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.3628, allocations: 207.4 kB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.3628, allocations: 11.94 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3629, allocations: 0 / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.363, allocations: 19.92 kB / 0.5673 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.363, allocations: 8 kB / 0.5673 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.363, allocations: 0 / 0.5673 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3631, allocations: 119.2 kB / 0.5674 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3631, allocations: 0 / 0.5674 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.3634, allocations: 43.86 kB / 0.5675 GB, free: 12.74 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 (7): * Single equations (assignments): 7 * 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.002493/0.3659, allocations: 1.163 MB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.3662, allocations: 83.92 kB / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3662, allocations: 0 / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3663, allocations: 43.91 kB / 0.5687 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3667, allocations: 22.42 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3691, allocations: 1.585 MB / 0.5703 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3692, allocations: 87.66 kB / 0.5704 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.679e-05/0.3693, allocations: 16.97 kB / 0.5704 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.3694, allocations: 35.41 kB / 0.5704 GB, free: 9.758 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3694, allocations: 96 / 0.5704 GB, free: 9.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.4058, allocations: 4.119 MB / 0.5745 GB, free: 5.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.79, allocations: 19.8 kB / 0.5745 GB, free: 5.625 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.959452007897198]