Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001533/0.001533, 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.002162/0.002162, allocations: 212 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.583/1.583, 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.2534/0.2534, allocations: 44.92 MB / 358.8 MB, free: 6.266 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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",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.002123/0.002123, allocations: 63.84 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3865, allocations: 65.46 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003366/0.3898, allocations: 1.701 MB / 0.5587 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.391, allocations: 0.5698 MB / 0.5593 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.391, allocations: 4 kB / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.3913, allocations: 39.81 kB / 0.5593 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.3916, allocations: 99.59 kB / 0.5594 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.3919, allocations: 138.9 kB / 0.5595 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3921, allocations: 79.77 kB / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3922, allocations: 18.06 kB / 0.5596 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.3923, allocations: 39.83 kB / 0.5597 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3924, allocations: 51.83 kB / 0.5597 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3924, allocations: 4 kB / 0.5597 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3925, allocations: 51.92 kB / 0.5598 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.3926, allocations: 23.91 kB / 0.5598 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.3926, allocations: 35.73 kB / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3928, allocations: 107.5 kB / 0.5599 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3928, allocations: 3.938 kB / 0.5599 GB, free: 4.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3928, allocations: 0 / 0.5599 GB, free: 4.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3929, allocations: 0 / 0.5599 GB, free: 4.789 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005604/0.3934, allocations: 357.5 kB / 0.5603 GB, free: 4.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3935, allocations: 12.03 kB / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.3935, allocations: 34.75 kB / 0.5603 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3935, allocations: 8.891 kB / 0.5603 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3937, allocations: 142.4 kB / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3937, allocations: 8.375 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3938, allocations: 4.328 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3939, allocations: 69.55 kB / 0.5605 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.394, allocations: 0 / 0.5605 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.394, allocations: 0 / 0.5605 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.394, allocations: 4 kB / 0.5605 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.3941, allocations: 43.95 kB / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.3945, allocations: 279.8 kB / 0.5608 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.3948, allocations: 50.56 kB / 0.5609 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.3949, allocations: 28.97 kB / 0.5609 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3949, allocations: 3.984 kB / 0.5609 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3949, allocations: 30.56 kB / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3949, allocations: 0 / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001459/0.3964, allocations: 408.9 kB / 0.5613 GB, free: 3.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.3964, allocations: 55.41 kB / 0.5614 GB, free: 3.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.3966, allocations: 186.1 kB / 0.5616 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3966, allocations: 25.7 kB / 0.5616 GB, free: 2.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.3967, allocations: 100.1 kB / 0.5617 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.3968, allocations: 39.62 kB / 0.5617 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.3968, allocations: 25.72 kB / 0.5618 GB, free: 2.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.397, allocations: 326.8 kB / 0.5621 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3971, allocations: 43.97 kB / 0.5621 GB, free: 2.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3972, allocations: 43.95 kB / 0.5622 GB, free: 2.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.3974, allocations: 96.81 kB / 0.5622 GB, free: 2.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3974, allocations: 0 / 0.5622 GB, free: 2.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003388/0.3978, allocations: 153.4 kB / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3978, allocations: 6.812 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3978, allocations: 4.562 kB / 0.5624 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3978, allocations: 3.938 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3979, allocations: 27.97 kB / 0.5624 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.398, allocations: 0 / 0.5624 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.398, allocations: 23.98 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.398, allocations: 0 / 0.5625 GB, free: 2 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 (11): * Single equations (assignments): 11 * 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.0001164/0.3981, allocations: 125.8 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.3982, allocations: 15.91 kB / 0.5626 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.3986, allocations: 162.2 kB / 0.5627 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3986, allocations: 3.938 kB / 0.5627 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3986, allocations: 4 kB / 0.5628 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.3986, allocations: 0 / 0.5628 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/0.3993, allocations: 447.1 kB / 0.5632 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3993, allocations: 0 / 0.5632 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3994, allocations: 24.05 kB / 0.5632 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3994, allocations: 8 kB / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3994, allocations: 96 / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3994, allocations: 7.938 kB / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3994, allocations: 0 / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.3998, allocations: 261.5 kB / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.3998, allocations: 11.94 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.3998, allocations: 8 kB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.3999, allocations: 7.984 kB / 0.5635 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.4, allocations: 11.98 kB / 0.5635 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.4, allocations: 4 kB / 0.5635 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.4001, allocations: 136.1 kB / 0.5636 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4001, allocations: 4 kB / 0.5636 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.4004, allocations: 31.92 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002365/0.4028, allocations: 1.13 MB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.4031, allocations: 107.8 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4031, allocations: 0 / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4033, allocations: 55.89 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.4037, allocations: 21.34 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.406, allocations: 1.809 MB / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.4064, allocations: 0.708 MB / 0.5674 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.4065, allocations: 20.47 kB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.4065, allocations: 39.42 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4065, allocations: 0 / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.4348, allocations: 3.504 MB / 0.5709 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.42, allocations: 12.05 kB / 0.5709 GB, free: 9.348 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.738092340005096]