Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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.001327/0.001327, allocations: 115.6 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.001416/0.001416, allocations: 213.4 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.441/1.441, 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.2178/0.2178, allocations: 44.91 MB / 358.8 MB, free: 6.277 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001982/0.001982, allocations: 67.84 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3175, allocations: 65.47 MB / 0.557 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003209/0.3207, allocations: 1.723 MB / 0.5587 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3219, allocations: 0.6049 MB / 0.5593 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.322, allocations: 3.938 kB / 0.5593 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.3222, allocations: 35.77 kB / 0.5594 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.3224, allocations: 83.55 kB / 0.5594 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.3229, allocations: 182.9 kB / 0.5596 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.3231, allocations: 95.75 kB / 0.5597 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.3232, allocations: 13.83 kB / 0.5597 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.3233, allocations: 51.77 kB / 0.5598 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.3234, allocations: 39.78 kB / 0.5598 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3234, allocations: 8 kB / 0.5598 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.3236, allocations: 99.94 kB / 0.5599 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.3236, allocations: 35.83 kB / 0.5599 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.3237, allocations: 35.75 kB / 0.56 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.324, allocations: 171.4 kB / 0.5601 GB, free: 4.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.324, allocations: 0 / 0.5601 GB, free: 4.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.324, allocations: 0 / 0.5601 GB, free: 4.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.324, allocations: 0 / 0.5601 GB, free: 4.457 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.0006631/0.3247, allocations: 381.4 kB / 0.5605 GB, free: 4.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3247, allocations: 8.031 kB / 0.5605 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.3248, allocations: 42.67 kB / 0.5605 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.3248, allocations: 8.891 kB / 0.5606 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.325, allocations: 146.3 kB / 0.5607 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.325, allocations: 4.375 kB / 0.5607 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.325, allocations: 4.375 kB / 0.5607 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.3253, allocations: 99.3 kB / 0.5608 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3253, allocations: 0 / 0.5608 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3253, allocations: 0 / 0.5608 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3254, allocations: 4 kB / 0.5608 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.3257, allocations: 79.84 kB / 0.5609 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.3263, allocations: 311.8 kB / 0.5612 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.3265, allocations: 70.53 kB / 0.5612 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.3267, allocations: 56.88 kB / 0.5613 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3267, allocations: 4 kB / 0.5613 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3267, allocations: 30.56 kB / 0.5613 GB, free: 3.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3267, allocations: 0 / 0.5613 GB, free: 3.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001615/0.3284, allocations: 413.1 kB / 0.5617 GB, free: 2.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.3284, allocations: 85.09 kB / 0.5618 GB, free: 2.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.3286, allocations: 166.1 kB / 0.562 GB, free: 2.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3286, allocations: 33.64 kB / 0.562 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.3287, allocations: 104.2 kB / 0.5621 GB, free: 2.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.3287, allocations: 27.69 kB / 0.5621 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.3288, allocations: 33.7 kB / 0.5622 GB, free: 2.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.329, allocations: 322.8 kB / 0.5625 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.3292, allocations: 75.92 kB / 0.5625 GB, free: 1.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.3296, allocations: 101.6 kB / 0.5626 GB, free: 1.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.3301, allocations: 164.7 kB / 0.5628 GB, free: 1.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3301, allocations: 0 / 0.5628 GB, free: 1.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006346/0.3307, allocations: 209.5 kB / 0.563 GB, free: 1.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3307, allocations: 4 kB / 0.563 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3308, allocations: 0 / 0.563 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3308, allocations: 4 kB / 0.563 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.331, allocations: 44.33 kB / 0.563 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.331, allocations: 3.938 kB / 0.563 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.3312, allocations: 31.92 kB / 0.5631 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3312, allocations: 0 / 0.5631 GB, free: 1.23 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 (10): * Single equations (assignments): 10 * 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.0001069/0.3313, allocations: 129.8 kB / 0.5632 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.3313, allocations: 15.95 kB / 0.5632 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/0.332, allocations: 222.4 kB / 0.5634 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.332, allocations: 0 / 0.5634 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.332, allocations: 3.938 kB / 0.5634 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.332, allocations: 4 kB / 0.5634 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.333, allocations: 497.3 kB / 0.5639 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.333, allocations: 4 kB / 0.5639 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.3332, allocations: 39.89 kB / 0.5639 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3332, allocations: 4 kB / 0.5639 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3332, allocations: 0 / 0.5639 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3332, allocations: 0 / 0.5639 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3333, allocations: 3.938 kB / 0.564 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.3339, allocations: 303.3 kB / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.334, allocations: 23.77 kB / 0.5643 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.334, allocations: 0 / 0.5643 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.3342, allocations: 27.97 kB / 0.5643 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.3342, allocations: 15.92 kB / 0.5643 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3343, allocations: 4 kB / 0.5643 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.3344, allocations: 124.1 kB / 0.5644 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3344, allocations: 0 / 0.5644 GB, free: 15.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000338/0.3347, allocations: 51.86 kB / 0.5645 GB, free: 15.7 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 (9): * Single equations (assignments): 9 * 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.002672/0.3374, allocations: 1.24 MB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.3381, allocations: 179.8 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3381, allocations: 0 / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.3384, allocations: 92.05 kB / 0.5659 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3388, allocations: 19.64 kB / 0.566 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.3418, allocations: 1.929 MB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.3422, allocations: 0.708 MB / 0.5685 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3423, allocations: 36.39 kB / 0.5686 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.3424, allocations: 43.41 kB / 0.5686 GB, free: 11.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3424, allocations: 112 / 0.5686 GB, free: 11.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.3723, allocations: 4.58 MB / 0.5731 GB, free: 6.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.64, allocations: 9.797 kB / 0.5731 GB, free: 6.965 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_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_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.64360580399807]