Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001289/0.001289, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002224/0.002224, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2636/0.2636, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.00204/0.00204, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3996, allocations: 65.47 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003376/0.403, allocations: 1.677 MB / 0.5587 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.4042, allocations: 0.5932 MB / 0.5593 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.4043, allocations: 0 / 0.5593 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.4049, allocations: 459.1 kB / 0.5597 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.4054, allocations: 291.3 kB / 0.56 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.4059, allocations: 171.3 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.4061, allocations: 179.6 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4063, allocations: 13.83 kB / 0.5603 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.4064, allocations: 115.7 kB / 0.5604 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.4067, allocations: 251.5 kB / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.4067, allocations: 4 kB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.4068, allocations: 35.98 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.4069, allocations: 91.61 kB / 0.5608 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.407, allocations: 99 kB / 0.5609 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.4074, allocations: 270.6 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4074, allocations: 0 / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4074, allocations: 0 / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4074, allocations: 7.938 kB / 0.5612 GB, free: 3.562 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.0007901/0.4082, allocations: 0.5893 MB / 0.5617 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4082, allocations: 8.031 kB / 0.5617 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.4082, allocations: 34.75 kB / 0.5618 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.4083, allocations: 40.66 kB / 0.5618 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.4086, allocations: 254.7 kB / 0.5621 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4086, allocations: 4.375 kB / 0.5621 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.4086, allocations: 4.375 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4088, allocations: 61.61 kB / 0.5621 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4088, allocations: 3.938 kB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.4088, allocations: 0 / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4088, allocations: 4 kB / 0.5621 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.409, allocations: 27.97 kB / 0.5622 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.4095, allocations: 371.7 kB / 0.5625 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.4097, allocations: 50.5 kB / 0.5626 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.4098, allocations: 16.94 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.4098, allocations: 0 / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.4098, allocations: 38.56 kB / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.4098, allocations: 0 / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006667/0.4105, allocations: 248.9 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4106, allocations: 51.41 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009265/0.4115, allocations: 0.8815 MB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4115, allocations: 25.7 kB / 0.5638 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.4117, allocations: 224.1 kB / 0.564 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.4117, allocations: 27.86 kB / 0.564 GB, free: 460 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.4118, allocations: 21.7 kB / 0.564 GB, free: 432 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.412, allocations: 354.8 kB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.412, allocations: 27.97 kB / 0.5644 GB, free: 40 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.4121, allocations: 23.98 kB / 0.5644 GB, free: 16 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.4123, allocations: 52.83 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4123, allocations: 3.938 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002338/0.4125, allocations: 121.4 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4125, allocations: 8 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4125, allocations: 0 / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4125, allocations: 0 / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.4126, allocations: 19.98 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4126, allocations: 0 / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.284e-05/0.4127, allocations: 11.88 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.4127, allocations: 0 / 0.5646 GB, free: 15.79 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.0002131/0.4129, allocations: 213.8 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/0.413, allocations: 51.61 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.4133, allocations: 145.2 kB / 0.565 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4133, allocations: 4 kB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4133, allocations: 0 / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4133, allocations: 3.938 kB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.4139, allocations: 441.9 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4139, allocations: 4 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.4139, allocations: 15.98 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.414, allocations: 0 / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.414, allocations: 7.938 kB / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.414, allocations: 0 / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.414, allocations: 0 / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.4142, allocations: 219.2 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.4143, allocations: 35.7 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.4143, allocations: 7.938 kB / 0.5657 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.4144, allocations: 8 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.4145, allocations: 7.984 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.4145, allocations: 0 / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006837/0.4151, allocations: 0.6589 MB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4151, allocations: 3.938 kB / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.4154, allocations: 31.89 kB / 0.5664 GB, free: 13.87 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.002015/0.4174, allocations: 1.058 MB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.4177, allocations: 51.91 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4177, allocations: 0 / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.233e-05/0.4178, allocations: 31.97 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.4182, allocations: 27.92 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.4221, allocations: 3.268 MB / 0.5708 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.4226, allocations: 0.8376 MB / 0.5716 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.095e-05/0.4227, allocations: 20.64 kB / 0.5716 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.4228, allocations: 119.4 kB / 0.5717 GB, free: 8.469 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4228, allocations: 0 / 0.5717 GB, free: 8.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.4556, allocations: 6.29 MB / 0.5779 GB, free: 2.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.84, allocations: 0 / 0.5779 GB, free: 2.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.107401423003466]