Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001671/0.001671, 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.001963/0.001963, allocations: 214.9 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.594/1.594, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2286/0.2286, allocations: 44.91 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.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",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.002041/0.002041, allocations: 67.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3764, allocations: 65.47 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.005107/0.3815, allocations: 1.624 MB / 0.5586 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3831, allocations: 0.5582 MB / 0.5592 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.3832, allocations: 4 kB / 0.5592 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.3836, allocations: 119.6 kB / 0.5593 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.384, allocations: 127.6 kB / 0.5594 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.3843, allocations: 91.69 kB / 0.5595 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.3845, allocations: 103.7 kB / 0.5596 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.3846, allocations: 13.83 kB / 0.5596 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.287e-05/0.3847, allocations: 51.88 kB / 0.5597 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.3848, allocations: 95.7 kB / 0.5598 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3848, allocations: 4 kB / 0.5598 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.385, allocations: 43.92 kB / 0.5598 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.385, allocations: 31.84 kB / 0.5598 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.3851, allocations: 43.67 kB / 0.5599 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.3853, allocations: 123.4 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3853, allocations: 3.938 kB / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3853, allocations: 0 / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3853, allocations: 4 kB / 0.56 GB, free: 4.723 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.0005279/0.3859, allocations: 361.4 kB / 0.5603 GB, free: 4.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3859, allocations: 8.031 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.3859, allocations: 34.75 kB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.386, allocations: 20.78 kB / 0.5604 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.3862, allocations: 162.4 kB / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3862, allocations: 4.375 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3862, allocations: 384 / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3864, allocations: 57.62 kB / 0.5606 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3864, allocations: 7.984 kB / 0.5606 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.3864, allocations: 0 / 0.5606 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-06/0.3864, allocations: 0 / 0.5606 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3865, allocations: 23.98 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.3869, allocations: 275.8 kB / 0.5609 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.3871, allocations: 38.56 kB / 0.561 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.3871, allocations: 20.86 kB / 0.561 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3871, allocations: 8.062 kB / 0.561 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3872, allocations: 38.64 kB / 0.561 GB, free: 3.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3872, allocations: 3.938 kB / 0.561 GB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00101/0.3882, allocations: 237.4 kB / 0.5612 GB, free: 3.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3882, allocations: 59.41 kB / 0.5613 GB, free: 3.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.3886, allocations: 271.8 kB / 0.5616 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3886, allocations: 29.7 kB / 0.5616 GB, free: 2.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.3887, allocations: 112.1 kB / 0.5617 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.3888, allocations: 27.73 kB / 0.5617 GB, free: 2.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.3888, allocations: 21.72 kB / 0.5617 GB, free: 2.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.389, allocations: 330.8 kB / 0.5621 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.3891, allocations: 23.97 kB / 0.5621 GB, free: 2.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.3892, allocations: 23.98 kB / 0.5621 GB, free: 2.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.3894, allocations: 60.83 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3894, allocations: 0 / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003286/0.3897, allocations: 113.5 kB / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3897, allocations: 4 kB / 0.5623 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.3898, allocations: 0 / 0.5623 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.3898, allocations: 0 / 0.5623 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3899, allocations: 20.03 kB / 0.5623 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3899, allocations: 3.938 kB / 0.5623 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.39, allocations: 19.91 kB / 0.5623 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.39, allocations: 0 / 0.5623 GB, free: 2.145 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 (8): * Single equations (assignments): 8 * 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.000142/0.3901, allocations: 139.1 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.3902, allocations: 15.91 kB / 0.5625 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.3905, allocations: 119.3 kB / 0.5626 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3905, allocations: 0 / 0.5626 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.3905, allocations: 3.938 kB / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3905, allocations: 0 / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.3913, allocations: 398.4 kB / 0.563 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3913, allocations: 0 / 0.563 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3914, allocations: 23.94 kB / 0.563 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3914, allocations: 0 / 0.563 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3914, allocations: 7.984 kB / 0.563 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3915, allocations: 0 / 0.563 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3915, allocations: 0 / 0.563 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.3918, allocations: 208.2 kB / 0.5632 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.3918, allocations: 19.84 kB / 0.5632 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3918, allocations: 3.938 kB / 0.5632 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.392, allocations: 8 kB / 0.5632 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.392, allocations: 3.984 kB / 0.5632 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.392, allocations: 4 kB / 0.5632 GB, free: 1.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003266/0.3923, allocations: 212.1 kB / 0.5634 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3923, allocations: 0 / 0.5634 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.3928, allocations: 27.94 kB / 0.5635 GB, free: 0.8867 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002799/0.3956, allocations: 1.097 MB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.3958, allocations: 63.84 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3958, allocations: 3.938 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.396, allocations: 36.05 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.3965, allocations: 24.5 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.3993, allocations: 1.804 MB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.3998, allocations: 0.7236 MB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.588e-05/0.3998, allocations: 12.97 kB / 0.5671 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.3999, allocations: 39.42 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3999, allocations: 0 / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.4337, allocations: 3.575 MB / 0.5707 GB, free: 9.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.38, allocations: 7.875 kB / 0.5707 GB, free: 9.609 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.662220400998194]