Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",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.001144/0.001144, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001155/0.001155, allocations: 180.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.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1981/0.1981, allocations: 44.2 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.361, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003249/0.3642, allocations: 1.643 MB / 0.5201 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009148/0.3652, allocations: 425.3 kB / 0.5205 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.3653, allocations: 0 / 0.5205 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.3656, allocations: 62.53 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.3659, allocations: 55.81 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.3664, allocations: 133.2 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.3666, allocations: 81.88 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3667, allocations: 13.89 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.3668, allocations: 35.98 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3669, allocations: 47.03 kB / 0.5209 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.3669, allocations: 7.188 kB / 0.5209 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.3671, allocations: 52.33 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.3672, allocations: 23.12 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.3672, allocations: 28.86 kB / 0.521 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.3675, allocations: 110.9 kB / 0.5211 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3675, allocations: 0 / 0.5211 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3675, allocations: 1 kB / 0.5211 GB, free: 1.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3675, allocations: 4.641 kB / 0.5211 GB, free: 1.609 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.0004231/0.3679, allocations: 410.8 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.368, allocations: 13.72 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.663e-05/0.368, allocations: 37.23 kB / 0.5215 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.3681, allocations: 14.36 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3682, allocations: 197.2 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3682, allocations: 6.688 kB / 0.5217 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3683, allocations: 7.562 kB / 0.5217 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3684, allocations: 67.98 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3685, allocations: 0 / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3685, allocations: 1.062 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3685, allocations: 5.375 kB / 0.5218 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3686, allocations: 38.47 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.3689, allocations: 309.7 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3692, allocations: 53.8 kB / 0.5222 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.3693, allocations: 29.77 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3693, allocations: 0 / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.3693, allocations: 37 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3693, allocations: 0 / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001616/0.3709, allocations: 398.5 kB / 0.5226 GB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.371, allocations: 52.44 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.3712, allocations: 186.5 kB / 0.5229 GB, free: 168 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3713, allocations: 25.7 kB / 0.5229 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.3713, allocations: 100.4 kB / 0.523 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.3714, allocations: 39.64 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-05/0.3715, allocations: 27.19 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3716, allocations: 322 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3717, allocations: 43.33 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3719, allocations: 43.98 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.3721, allocations: 101.7 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3722, allocations: 0 / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003505/0.3725, allocations: 146.7 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3725, allocations: 6.031 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3726, allocations: 0 / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3726, allocations: 8.625 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3727, allocations: 25.56 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3727, allocations: 1.469 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.3728, allocations: 9.016 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3728, allocations: 6.906 kB / 0.5237 GB, free: 15.52 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.000108/0.3729, allocations: 130.4 kB / 0.5239 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.373, allocations: 11.94 kB / 0.5239 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.3734, allocations: 168.9 kB / 0.524 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.3734, allocations: 6.391 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3734, allocations: 0 / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3734, allocations: 9.812 kB / 0.5241 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.3742, allocations: 465 kB / 0.5245 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3742, allocations: 4 kB / 0.5245 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3744, allocations: 34.5 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3744, allocations: 4.062 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3744, allocations: 2.125 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3744, allocations: 2.75 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3744, allocations: 0 / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.3748, allocations: 257.8 kB / 0.5248 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.3749, allocations: 86.45 kB / 0.5249 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3749, allocations: 1.812 kB / 0.5249 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.375, allocations: 14.03 kB / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.3751, allocations: 13.08 kB / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3751, allocations: 2.125 kB / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.3752, allocations: 144.1 kB / 0.525 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3752, allocations: 0 / 0.525 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000284/0.3755, allocations: 32.02 kB / 0.5251 GB, free: 14.51 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.001636/0.3771, allocations: 1.139 MB / 0.5262 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.3775, allocations: 110.8 kB / 0.5263 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3775, allocations: 1.375 kB / 0.5263 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3777, allocations: 59.17 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.000387/0.3781, allocations: 19.77 kB / 0.5264 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.3805, allocations: 1.783 MB / 0.5281 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3808, allocations: 0.7093 MB / 0.5288 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.3809, allocations: 19.53 kB / 0.5288 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.381, allocations: 34.62 kB / 0.5288 GB, free: 11.48 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.381, allocations: 0 / 0.5288 GB, free: 11.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.4029, allocations: 3.305 MB / 0.5321 GB, free: 9.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.121, allocations: 7.234 kB / 0.5321 GB, free: 9.887 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_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_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches