Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.002049/0.002049, allocations: 117.1 kB / 20.44 MB, free: 1.316 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.00209/0.00209, allocations: 215.2 kB / 23.74 MB, free: 4.543 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 8 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.2476/0.2476, allocations: 44.91 MB / 358.8 MB, free: 6.305 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.002078/0.002078, allocations: 67.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4053, allocations: 65.47 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003176/0.4085, allocations: 1.613 MB / 0.5586 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4096, allocations: 0.5767 MB / 0.5592 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.4097, allocations: 0 / 0.5592 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.4103, allocations: 459.1 kB / 0.5596 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.4108, allocations: 291.3 kB / 0.5599 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.4114, allocations: 175 kB / 0.5601 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.4116, allocations: 167.6 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.4118, allocations: 19.98 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.4119, allocations: 103.8 kB / 0.5603 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.4122, allocations: 247.5 kB / 0.5606 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.4122, allocations: 4 kB / 0.5606 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.4123, allocations: 27.98 kB / 0.5606 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.4124, allocations: 88.59 kB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.4125, allocations: 103 kB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.4129, allocations: 264.5 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4129, allocations: 3.938 kB / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4129, allocations: 0 / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.4129, allocations: 0 / 0.561 GB, free: 3.688 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008233/0.4137, allocations: 0.5815 MB / 0.5616 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4138, allocations: 8.031 kB / 0.5616 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.4138, allocations: 30.75 kB / 0.5616 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.4139, allocations: 56.64 kB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.4142, allocations: 254.7 kB / 0.5619 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4142, allocations: 384 / 0.5619 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.4142, allocations: 4.375 kB / 0.5619 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.4144, allocations: 49.62 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4144, allocations: 0 / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4144, allocations: 4 kB / 0.562 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4144, allocations: 0 / 0.562 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.4145, allocations: 27.91 kB / 0.562 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.415, allocations: 359.9 kB / 0.5624 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.402e-05/0.4151, allocations: 30.56 kB / 0.5624 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.4152, allocations: 12.92 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.4152, allocations: 7.984 kB / 0.5624 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.4152, allocations: 34.5 kB / 0.5625 GB, free: 2.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4152, allocations: 4 kB / 0.5625 GB, free: 2.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002786/0.4155, allocations: 105.3 kB / 0.5626 GB, free: 1.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.4155, allocations: 51.41 kB / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000901/0.4164, allocations: 0.8738 MB / 0.5635 GB, free: 1.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4165, allocations: 25.7 kB / 0.5635 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.4167, allocations: 228.1 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.4167, allocations: 7.891 kB / 0.5637 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.4168, allocations: 21.84 kB / 0.5637 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.4169, allocations: 358.7 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.417, allocations: 15.98 kB / 0.5641 GB, free: 388 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.417, allocations: 7.984 kB / 0.5641 GB, free: 380 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.712e-05/0.4171, allocations: 32.78 kB / 0.5641 GB, free: 344 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4171, allocations: 0 / 0.5641 GB, free: 344 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001572/0.4173, allocations: 101.5 kB / 0.5642 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.4173, allocations: 8 kB / 0.5642 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.4173, allocations: 0 / 0.5642 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4173, allocations: 0 / 0.5642 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.4174, allocations: 7.984 kB / 0.5642 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4174, allocations: 0 / 0.5642 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.4174, allocations: 4 kB / 0.5642 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4174, allocations: 0 / 0.5642 GB, free: 216 kB / 398.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 (2): * Single equations (assignments): 2 * 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.000213/0.4177, allocations: 213.7 kB / 0.5644 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.4177, allocations: 51.64 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.4179, allocations: 124.7 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4179, allocations: 0 / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4179, allocations: 0 / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.418, allocations: 0 / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.4183, allocations: 260.6 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4183, allocations: 0 / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.4183, allocations: 4 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4183, allocations: 0 / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4183, allocations: 16.02 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4183, allocations: 0 / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4183, allocations: 0 / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.4186, allocations: 195.1 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.4186, allocations: 35.7 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4187, allocations: 0 / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.4187, allocations: 4 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.4188, allocations: 4.031 kB / 0.5651 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.4188, allocations: 0 / 0.5651 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006982/0.4195, allocations: 0.6628 MB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4195, allocations: 0 / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.4197, allocations: 23.92 kB / 0.5658 GB, free: 14.56 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 (2): * Single equations (assignments): 2 * 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.001842/0.4216, allocations: 0.9632 MB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.4217, allocations: 27.92 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4217, allocations: 4.062 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.4218, allocations: 11.98 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.4222, allocations: 29.59 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.4259, allocations: 3.187 MB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.4264, allocations: 0.8242 MB / 0.5707 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.223e-05/0.4265, allocations: 19.73 kB / 0.5707 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.4266, allocations: 115.4 kB / 0.5708 GB, free: 9.375 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4266, allocations: 0 / 0.5708 GB, free: 9.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.4597, allocations: 5.95 MB / 0.5766 GB, free: 3.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.96, allocations: 7.984 kB / 0.5767 GB, free: 3.48 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_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_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.261624528000539]