Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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: 114.2 kB / 17.12 MB, free: 5.93 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.001473/0.001473, allocations: 213 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4242/0.4242, allocations: 44.23 MB / 326.6 MB, free: 6.801 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002395/0.002395, allocations: 79.89 kB / 462.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3678, allocations: 61.01 MB / 0.511 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.004048/0.3719, allocations: 1.567 MB / 0.5125 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009252/0.3728, allocations: 353 kB / 0.5128 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.3729, allocations: 1.375 kB / 0.5128 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.3732, allocations: 26.61 kB / 0.5129 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.3735, allocations: 42.06 kB / 0.5129 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.3738, allocations: 86.08 kB / 0.513 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.374, allocations: 58.94 kB / 0.513 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3741, allocations: 17.09 kB / 0.5131 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.3742, allocations: 25.27 kB / 0.5131 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3743, allocations: 30.84 kB / 0.5131 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3743, allocations: 3.031 kB / 0.5131 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.3744, allocations: 51.52 kB / 0.5132 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.3745, allocations: 18.91 kB / 0.5132 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.3745, allocations: 16.22 kB / 0.5132 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3748, allocations: 103.3 kB / 0.5133 GB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3748, allocations: 0 / 0.5133 GB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3748, allocations: 0 / 0.5133 GB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3748, allocations: 1.25 kB / 0.5133 GB, free: 11.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004492/0.3752, allocations: 383.7 kB / 0.5137 GB, free: 11.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3753, allocations: 18.2 kB / 0.5137 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.737e-05/0.3753, allocations: 34.73 kB / 0.5137 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3753, allocations: 9.203 kB / 0.5137 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.3755, allocations: 178.9 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.3755, allocations: 2.938 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3755, allocations: 17.38 kB / 0.5139 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3757, allocations: 67.62 kB / 0.514 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3757, allocations: 0 / 0.514 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3757, allocations: 8 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3757, allocations: 1.812 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3758, allocations: 28 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.3762, allocations: 294.1 kB / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.643e-05/0.3763, allocations: 40.31 kB / 0.5143 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.3763, allocations: 23.75 kB / 0.5143 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3764, allocations: 1.969 kB / 0.5144 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.3764, allocations: 30.56 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3764, allocations: 2.219 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006721/0.3771, allocations: 147.8 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.3771, allocations: 78.48 kB / 0.5146 GB, free: 10.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3772, allocations: 139.8 kB / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3773, allocations: 31.08 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.3773, allocations: 98.77 kB / 0.5149 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.3774, allocations: 22.58 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.3774, allocations: 19.22 kB / 0.5149 GB, free: 10 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.3775, allocations: 320.1 kB / 0.5152 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.913e-05/0.3776, allocations: 24.36 kB / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.3776, allocations: 40.81 kB / 0.5153 GB, free: 9.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3778, allocations: 57.64 kB / 0.5153 GB, free: 9.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3778, allocations: 0 / 0.5153 GB, free: 9.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001994/0.378, allocations: 90.61 kB / 0.5154 GB, free: 9.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.378, allocations: 5.375 kB / 0.5154 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.378, allocations: 0 / 0.5154 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.378, allocations: 4.031 kB / 0.5154 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3781, allocations: 15.84 kB / 0.5154 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3782, allocations: 3.984 kB / 0.5154 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.3782, allocations: 11.06 kB / 0.5154 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3782, allocations: 2.844 kB / 0.5154 GB, free: 9.527 MB / 382.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 (6): * Single equations (assignments): 6 * 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 8.07e-05/0.3783, allocations: 114.3 kB / 0.5156 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.3783, allocations: 6.078 kB / 0.5156 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.3786, allocations: 115.5 kB / 0.5157 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3786, allocations: 2.25 kB / 0.5157 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3786, allocations: 0 / 0.5157 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3786, allocations: 3.938 kB / 0.5157 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.379, allocations: 365.3 kB / 0.516 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3791, allocations: 1.312 kB / 0.516 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.3791, allocations: 14.27 kB / 0.516 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3791, allocations: 0.7812 kB / 0.516 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3791, allocations: 9.25 kB / 0.516 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3791, allocations: 0 / 0.516 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3791, allocations: 0 / 0.516 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.3793, allocations: 186.1 kB / 0.5162 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.3794, allocations: 82.14 kB / 0.5163 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.3794, allocations: 5.281 kB / 0.5163 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.3795, allocations: 15.39 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.3795, allocations: 2.156 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3795, allocations: 2.188 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.961e-05/0.3796, allocations: 105.8 kB / 0.5164 GB, free: 8.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3796, allocations: 1.25 kB / 0.5164 GB, free: 8.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3799, allocations: 22.97 kB / 0.5165 GB, free: 8.57 MB / 382.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 (6): * Single equations (assignments): 6 * 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.001859/0.3817, allocations: 1.071 MB / 0.5175 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.382, allocations: 68.33 kB / 0.5176 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.382, allocations: 1.125 kB / 0.5176 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.3821, allocations: 26.11 kB / 0.5176 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3825, allocations: 18.64 kB / 0.5176 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3839, allocations: 1.428 MB / 0.519 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.384, allocations: 0.6941 MB / 0.5197 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.837e-05/0.384, allocations: 21.61 kB / 0.5197 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.3841, allocations: 24.92 kB / 0.5197 GB, free: 5.504 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3841, allocations: 0 / 0.5197 GB, free: 5.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.4069, allocations: 2.9 MB / 0.5226 GB, free: 2.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.577, allocations: 5.75 kB / 0.5226 GB, free: 2.664 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.194310430000769]