Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001594/0.001594, allocations: 111.8 kB / 20.43 MB, free: 1.309 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.001452/0.001452, allocations: 214.3 kB / 23.75 MB, free: 4.535 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2219/0.2219, allocations: 44.92 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] 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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14",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.001981/0.001981, allocations: 59.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3664, allocations: 65.48 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.00305/0.3695, allocations: 1.678 MB / 0.5587 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3714, allocations: 1.298 MB / 0.5599 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.3715, allocations: 0 / 0.5599 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.3716, allocations: 23.84 kB / 0.56 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.3719, allocations: 87.62 kB / 0.5601 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.3723, allocations: 175.3 kB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3725, allocations: 79.75 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.3726, allocations: 25.75 kB / 0.5603 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.3726, allocations: 31.86 kB / 0.5604 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.3728, allocations: 35.84 kB / 0.5604 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.3728, allocations: 4 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.373, allocations: 103.9 kB / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.3731, allocations: 23.92 kB / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.3731, allocations: 31.8 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.3734, allocations: 155.5 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3734, allocations: 0 / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3734, allocations: 0 / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3734, allocations: 0 / 0.5607 GB, free: 4.023 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.0005746/0.374, allocations: 363.7 kB / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.374, allocations: 8.031 kB / 0.561 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.374, allocations: 38.75 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3741, allocations: 8.891 kB / 0.5611 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.3743, allocations: 138.4 kB / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.3743, allocations: 384 / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3743, allocations: 8.375 kB / 0.5612 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3745, allocations: 83.31 kB / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3745, allocations: 3.938 kB / 0.5613 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3745, allocations: 0 / 0.5613 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3745, allocations: 0 / 0.5613 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.3747, allocations: 39.97 kB / 0.5614 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.3752, allocations: 287.8 kB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3753, allocations: 50.59 kB / 0.5617 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3754, allocations: 28.83 kB / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3754, allocations: 0 / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3755, allocations: 34.56 kB / 0.5617 GB, free: 2.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3755, allocations: 0 / 0.5617 GB, free: 2.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008024/0.3763, allocations: 229.5 kB / 0.562 GB, free: 2.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.3763, allocations: 85.09 kB / 0.562 GB, free: 2.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3765, allocations: 159 kB / 0.5622 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3765, allocations: 25.7 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.3766, allocations: 108.1 kB / 0.5623 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3766, allocations: 19.8 kB / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3767, allocations: 21.7 kB / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3768, allocations: 326.8 kB / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3769, allocations: 35.97 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3771, allocations: 53.75 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.3773, allocations: 96.81 kB / 0.5628 GB, free: 1.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3773, allocations: 0 / 0.5628 GB, free: 1.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002957/0.3776, allocations: 125.8 kB / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3776, allocations: 4 kB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3776, allocations: 3.984 kB / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3776, allocations: 7.984 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3778, allocations: 19.98 kB / 0.563 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3778, allocations: 0 / 0.563 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.3778, allocations: 19.92 kB / 0.563 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.3779, allocations: 0 / 0.563 GB, free: 1.43 MB / 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 (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.0001022/0.378, allocations: 117.8 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.378, allocations: 11.91 kB / 0.5631 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.3784, allocations: 142.3 kB / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3784, allocations: 0 / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3784, allocations: 0 / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3784, allocations: 11.92 kB / 0.5633 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.379, allocations: 389.5 kB / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.379, allocations: 0 / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.034e-05/0.3791, allocations: 19.98 kB / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3791, allocations: 0 / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3791, allocations: 3.938 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3791, allocations: 3.984 kB / 0.5637 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3791, allocations: 0 / 0.5637 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.3794, allocations: 231.4 kB / 0.5639 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.3794, allocations: 7.953 kB / 0.5639 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.3795, allocations: 7.938 kB / 0.5639 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.3796, allocations: 7.984 kB / 0.5639 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.3796, allocations: 11.92 kB / 0.5639 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3796, allocations: 4 kB / 0.5639 GB, free: 400 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.3797, allocations: 125.8 kB / 0.5641 GB, free: 276 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3797, allocations: 4 kB / 0.5641 GB, free: 272 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.38, allocations: 43.86 kB / 0.5641 GB, free: 228 kB / 398.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.002325/0.3824, allocations: 1.15 MB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.3827, allocations: 91.86 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3827, allocations: 3.938 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.3829, allocations: 43.95 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3832, allocations: 19.88 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.3854, allocations: 1.651 MB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3858, allocations: 0.7083 MB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.401e-05/0.3859, allocations: 28.7 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.386, allocations: 31.42 kB / 0.5677 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.386, allocations: 4 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.4202, allocations: 3.781 MB / 0.5714 GB, free: 8.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.28, allocations: 0 / 0.5714 GB, free: 8.801 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_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_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.430135707007139]