Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 118.1 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 183 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3601, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002681/0.3629, allocations: 1.643 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006981/0.3636, allocations: 424.9 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.3637, allocations: 1.438 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.3639, allocations: 43.48 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.3642, allocations: 52.86 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.3645, allocations: 140.2 kB / 0.5207 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.3647, allocations: 71.5 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3648, allocations: 22.59 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.3649, allocations: 34.61 kB / 0.5208 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.365, allocations: 41.91 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3651, allocations: 7.719 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3652, allocations: 55.88 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.3653, allocations: 14.62 kB / 0.5209 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.3653, allocations: 31.56 kB / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3655, allocations: 106 kB / 0.5211 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3656, allocations: 1.031 kB / 0.5211 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3656, allocations: 0 / 0.5211 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.3656, allocations: 3.938 kB / 0.5211 GB, free: 1.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004938/0.3661, allocations: 418.3 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3661, allocations: 9.188 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.3662, allocations: 37.58 kB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.3662, allocations: 9.141 kB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.3664, allocations: 201 kB / 0.5217 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3664, allocations: 5.188 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3664, allocations: 7.5 kB / 0.5217 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3666, allocations: 67.2 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3667, allocations: 4.906 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3667, allocations: 0.6562 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3667, allocations: 1.125 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.3668, allocations: 39.36 kB / 0.5218 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.3672, allocations: 304.6 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3675, allocations: 61.59 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.606e-05/0.3676, allocations: 25.61 kB / 0.5222 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3676, allocations: 4.922 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.3676, allocations: 32.38 kB / 0.5222 GB, free: 480 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3676, allocations: 0 / 0.5222 GB, free: 480 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001377/0.369, allocations: 388.6 kB / 0.5226 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.3691, allocations: 53.47 kB / 0.5227 GB, free: 292 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3692, allocations: 174.6 kB / 0.5228 GB, free: 164 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.3692, allocations: 26.5 kB / 0.5228 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.3693, allocations: 99.8 kB / 0.5229 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.3693, allocations: 48 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.3694, allocations: 30.06 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3695, allocations: 321.6 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3696, allocations: 39.16 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3698, allocations: 49.3 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.37, allocations: 97.47 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.37, allocations: 0 / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003135/0.3703, allocations: 145.5 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3704, allocations: 6.281 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3704, allocations: 0 / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3704, allocations: 5.062 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3705, allocations: 24.88 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3705, allocations: 9.75 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.3706, allocations: 8.625 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3706, allocations: 3.75 kB / 0.5237 GB, free: 15.51 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.0001014/0.3707, allocations: 124 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.3708, allocations: 17.5 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.3712, allocations: 170.7 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3712, allocations: 0 / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3712, allocations: 4 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3712, allocations: 0.7969 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.3719, allocations: 462.5 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3719, allocations: 5.156 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-05/0.3721, allocations: 25.09 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3721, allocations: 2.281 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3721, allocations: 9.438 kB / 0.5245 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3721, allocations: 1.469 kB / 0.5245 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3721, allocations: 2.25 kB / 0.5245 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.3725, allocations: 256.4 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.3725, allocations: 90.58 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3726, allocations: 2.281 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.3727, allocations: 9.703 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.3727, allocations: 16.44 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3727, allocations: 3.312 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3729, allocations: 134.4 kB / 0.525 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3729, allocations: 0 / 0.525 GB, free: 14.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000289/0.3732, allocations: 26.84 kB / 0.525 GB, free: 14.5 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.001572/0.3747, allocations: 1.134 MB / 0.5261 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000363/0.3751, allocations: 115.2 kB / 0.5262 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3751, allocations: 0 / 0.5262 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3753, allocations: 59.09 kB / 0.5263 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.3757, allocations: 19.62 kB / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3778, allocations: 1.748 MB / 0.528 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.3781, allocations: 0.7104 MB / 0.5287 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.33e-05/0.3782, allocations: 15.61 kB / 0.5287 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.3783, allocations: 35.44 kB / 0.5287 GB, free: 11.49 MB / 398.1 MB Notification: Performance of SimCode: time 7.965e-06/0.3783, allocations: 4 kB / 0.5287 GB, free: 11.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.3989, allocations: 3.245 MB / 0.5319 GB, free: 9.926 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.923, allocations: 9.75 kB / 0.5319 GB, free: 9.922 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches