Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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.001282/0.001282, allocations: 113.8 kB / 17.78 MB, free: 5.305 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.001205/0.001205, allocations: 179.1 kB / 18.71 MB, free: 4.383 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.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2263/0.2263, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3612, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003013/0.3642, allocations: 1.63 MB / 0.52 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3656, allocations: 1.033 MB / 0.5211 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.3657, allocations: 1.281 kB / 0.5211 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.3659, allocations: 27.61 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.3662, allocations: 37.52 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.3665, allocations: 132.9 kB / 0.5212 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.3666, allocations: 61.47 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3668, allocations: 21.7 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.3668, allocations: 23.56 kB / 0.5213 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.367, allocations: 31.84 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.367, allocations: 4.438 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3671, allocations: 50.11 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.3672, allocations: 16.34 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.3672, allocations: 23.09 kB / 0.5215 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.3675, allocations: 104.6 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3675, allocations: 0 / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3675, allocations: 1.062 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3675, allocations: 4 kB / 0.5216 GB, free: 1.172 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.0004753/0.368, allocations: 396.2 kB / 0.5219 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3681, allocations: 13.91 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.3681, allocations: 33.34 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.3681, allocations: 12.27 kB / 0.522 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3683, allocations: 193.1 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.3683, allocations: 1.812 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3684, allocations: 6.656 kB / 0.5222 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3685, allocations: 72.86 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3686, allocations: 0 / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3686, allocations: 4.969 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3686, allocations: 5.062 kB / 0.5223 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3687, allocations: 36.28 kB / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.3691, allocations: 287.3 kB / 0.5226 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3692, allocations: 47.83 kB / 0.5226 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.3693, allocations: 20.39 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3693, allocations: 5.188 kB / 0.5227 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.3693, allocations: 36.33 kB / 0.5227 GB, free: 60 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3693, allocations: 0 / 0.5227 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007857/0.3701, allocations: 206.8 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.3702, allocations: 78.91 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3704, allocations: 146.5 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3704, allocations: 26.77 kB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.3705, allocations: 105.6 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.3705, allocations: 21.67 kB / 0.5232 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.3706, allocations: 20.19 kB / 0.5233 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3707, allocations: 319.7 kB / 0.5236 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3709, allocations: 33.59 kB / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.371, allocations: 46.64 kB / 0.5236 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.3712, allocations: 72.66 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3712, allocations: 1.188 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003339/0.3716, allocations: 113.3 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3716, allocations: 5.781 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3716, allocations: 4.781 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3716, allocations: 0 / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3718, allocations: 27.97 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3718, allocations: 8 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.3719, allocations: 10.84 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3719, allocations: 1.375 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.0001099/0.372, allocations: 115.6 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.372, allocations: 11.92 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.3724, allocations: 127 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3724, allocations: 1.75 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3724, allocations: 3.938 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3724, allocations: 0.6562 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.3731, allocations: 392.9 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3731, allocations: 0.75 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.3732, allocations: 23.45 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3732, allocations: 3.938 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3732, allocations: 1.125 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3732, allocations: 2.062 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3732, allocations: 0 / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.3736, allocations: 209.7 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.3736, allocations: 85.64 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3737, allocations: 6.203 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.3738, allocations: 8.344 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.3738, allocations: 10.23 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.3738, allocations: 1.844 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.591e-05/0.3739, allocations: 109.9 kB / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3739, allocations: 3.938 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3742, allocations: 27.89 kB / 0.525 GB, free: 14.25 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.002147/0.3764, allocations: 1.084 MB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.3767, allocations: 82.59 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3767, allocations: 4 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.3769, allocations: 43.03 kB / 0.5262 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3773, allocations: 16.75 kB / 0.5262 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3793, allocations: 1.529 MB / 0.5277 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3797, allocations: 0.6962 MB / 0.5283 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.364e-05/0.3798, allocations: 18.73 kB / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.3799, allocations: 26 kB / 0.5284 GB, free: 11.4 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3799, allocations: 4 kB / 0.5284 GB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.4066, allocations: 3.048 MB / 0.5314 GB, free: 9.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.254, allocations: 21.2 kB / 0.5314 GB, free: 9.934 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_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_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches