Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14",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.001246/0.001246, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001269/0.001269, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.507/1.507, 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.2141/0.2141, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3172, allocations: 60.82 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002769/0.32, allocations: 1.614 MB / 0.52 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3214, allocations: 1.034 MB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.3215, allocations: 0.9688 kB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.3217, allocations: 19.25 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.322, allocations: 41.53 kB / 0.5211 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.3224, allocations: 140.7 kB / 0.5212 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.3225, allocations: 65.55 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3226, allocations: 13.91 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.118e-05/0.3227, allocations: 32.58 kB / 0.5213 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.3229, allocations: 30.42 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3229, allocations: 5 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.323, allocations: 46.7 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.3231, allocations: 16.59 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.3231, allocations: 22.02 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3234, allocations: 108.7 kB / 0.5216 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3234, allocations: 0 / 0.5216 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3234, allocations: 1.219 kB / 0.5216 GB, free: 1.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3234, allocations: 3.938 kB / 0.5216 GB, free: 1.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004895/0.3239, allocations: 397.5 kB / 0.5219 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.324, allocations: 9.656 kB / 0.522 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.324, allocations: 36.5 kB / 0.522 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.324, allocations: 12.22 kB / 0.522 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.3242, allocations: 193.5 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3242, allocations: 1.438 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3242, allocations: 10.25 kB / 0.5222 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3244, allocations: 81.27 kB / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3244, allocations: 0.75 kB / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3244, allocations: 1.094 kB / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3245, allocations: 0 / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.3246, allocations: 40.94 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.3249, allocations: 294.1 kB / 0.5226 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.325, allocations: 50.03 kB / 0.5226 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.3251, allocations: 22.41 kB / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3252, allocations: 1.844 kB / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.3252, allocations: 32.06 kB / 0.5227 GB, free: 40 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3252, allocations: 0 / 0.5227 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008154/0.326, allocations: 207.1 kB / 0.5229 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3261, allocations: 78.33 kB / 0.523 GB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3263, allocations: 143.8 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3263, allocations: 25.7 kB / 0.5231 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.3264, allocations: 98.31 kB / 0.5232 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.3264, allocations: 28.67 kB / 0.5233 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.3265, allocations: 20.78 kB / 0.5233 GB, free: 15.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.3267, allocations: 319.6 kB / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3269, allocations: 30.05 kB / 0.5236 GB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.327, allocations: 51.45 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.3272, allocations: 76 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3273, allocations: 1.094 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003033/0.3276, allocations: 108 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3276, allocations: 6.594 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3276, allocations: 0 / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3276, allocations: 5.156 kB / 0.5238 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3278, allocations: 19.03 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3278, allocations: 6.125 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.3279, allocations: 8.922 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3279, allocations: 1.531 kB / 0.5239 GB, free: 15.15 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 (7): * Single equations (assignments): 7 * 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.0001151/0.328, allocations: 123.3 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.328, allocations: 8.875 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.3284, allocations: 123.3 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3284, allocations: 1.469 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3284, allocations: 3.938 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3284, allocations: 0.75 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.329, allocations: 392.4 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3291, allocations: 8.781 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.3291, allocations: 18.91 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3292, allocations: 5.094 kB / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3292, allocations: 0 / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3292, allocations: 1.906 kB / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3292, allocations: 0 / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.3295, allocations: 214 kB / 0.5247 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.3296, allocations: 89.61 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3297, allocations: 12.97 kB / 0.5248 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.3298, allocations: 10.38 kB / 0.5248 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.3298, allocations: 9.766 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3298, allocations: 2.25 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.33, allocations: 109.8 kB / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.33, allocations: 0 / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000291/0.3303, allocations: 28.2 kB / 0.525 GB, free: 14.23 MB / 398.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 (7): * Single equations (assignments): 7 * 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.002341/0.3326, allocations: 1.079 MB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.333, allocations: 79.14 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.333, allocations: 0 / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3331, allocations: 45.56 kB / 0.5262 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3336, allocations: 14.88 kB / 0.5262 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.3358, allocations: 1.535 MB / 0.5277 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3362, allocations: 0.6988 MB / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.63e-05/0.3363, allocations: 9.891 kB / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.3364, allocations: 30.94 kB / 0.5284 GB, free: 11.39 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3364, allocations: 0 / 0.5284 GB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.3641, allocations: 3.053 MB / 0.5314 GB, free: 9.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.392, allocations: 14.05 kB / 0.5314 GB, free: 9.922 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches