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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 112.8 kB / 17.77 MB, free: 5.371 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.001421/0.001421, allocations: 180.9 kB / 18.7 MB, free: 4.453 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2282/0.2282, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3689, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.0027/0.3716, allocations: 1.646 MB / 0.5201 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.3723, allocations: 420 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.3724, allocations: 1.031 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3726, allocations: 46.58 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.3729, allocations: 51.5 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.3732, allocations: 133.3 kB / 0.5207 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.3734, allocations: 69.53 kB / 0.5207 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3735, allocations: 22.67 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.3736, allocations: 34.77 kB / 0.5208 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.3737, allocations: 47.14 kB / 0.5208 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3737, allocations: 3.375 kB / 0.5208 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3738, allocations: 48.36 kB / 0.5209 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.3739, allocations: 22.64 kB / 0.5209 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.3739, allocations: 27.45 kB / 0.5209 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3742, allocations: 106.1 kB / 0.521 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3742, allocations: 0.7031 kB / 0.521 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3742, allocations: 1.344 kB / 0.521 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3742, allocations: 3.938 kB / 0.521 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.0004446/0.3746, allocations: 416.6 kB / 0.5214 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3747, allocations: 10.16 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.3747, allocations: 37.38 kB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.3748, allocations: 8.859 kB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3749, allocations: 201 kB / 0.5217 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3749, allocations: 5.5 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.375, allocations: 4.344 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3751, allocations: 67.12 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3752, allocations: 0.5156 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3752, allocations: 5.094 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3752, allocations: 1.062 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.3753, allocations: 34.77 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.3757, allocations: 309 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.3759, allocations: 52.75 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.376, allocations: 29.92 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.376, allocations: 1.375 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.376, allocations: 31.36 kB / 0.5222 GB, free: 492 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.376, allocations: 1.406 kB / 0.5222 GB, free: 492 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001465/0.3775, allocations: 401.4 kB / 0.5226 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.3775, allocations: 52.44 kB / 0.5226 GB, free: 292 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3777, allocations: 171.8 kB / 0.5228 GB, free: 164 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.3777, allocations: 25.7 kB / 0.5228 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.3778, allocations: 99.44 kB / 0.5229 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.3778, allocations: 47.39 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.3779, allocations: 27.33 kB / 0.523 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.378, allocations: 325.6 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3782, allocations: 43.25 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3783, allocations: 40.2 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.3786, allocations: 97.33 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3786, allocations: 1.188 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003238/0.3789, allocations: 149.7 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3789, allocations: 9.281 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.379, allocations: 0 / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.379, allocations: 0 / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3791, allocations: 30 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3791, allocations: 1.5 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.3792, allocations: 13.61 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3792, allocations: 1.531 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.0001064/0.3793, allocations: 125.3 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.3794, allocations: 16.97 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.3798, allocations: 163.4 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3798, allocations: 1.562 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.3798, allocations: 4.703 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3798, allocations: 1.766 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.3805, allocations: 466.4 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3805, allocations: 3.984 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3806, allocations: 26.34 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3806, allocations: 5.438 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3807, allocations: 2.438 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3807, allocations: 1.125 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3807, allocations: 1.781 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.3811, allocations: 264.3 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.3811, allocations: 87.34 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3812, allocations: 10.02 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3813, allocations: 10 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.3813, allocations: 11.77 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3813, allocations: 7.562 kB / 0.5248 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.3815, allocations: 132.1 kB / 0.525 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3815, allocations: 4.094 kB / 0.525 GB, free: 14.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.3818, allocations: 32.12 kB / 0.525 GB, free: 14.49 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.001562/0.3833, allocations: 1.125 MB / 0.5261 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.3837, allocations: 111.9 kB / 0.5262 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3837, allocations: 0 / 0.5262 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3839, allocations: 60.92 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.0004103/0.3843, allocations: 17.81 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.002407/0.3867, allocations: 1.753 MB / 0.528 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3871, allocations: 0.7102 MB / 0.5287 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.32e-05/0.3872, allocations: 20.27 kB / 0.5287 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.3873, allocations: 34.92 kB / 0.5287 GB, free: 11.48 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3873, allocations: 0 / 0.5287 GB, free: 11.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.4082, allocations: 3.248 MB / 0.5319 GB, free: 9.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.896, allocations: 9.203 kB / 0.5319 GB, free: 9.926 MB / 398.1 MB (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.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) 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) Reference file matches