Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001432/0.001432, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001555/0.001555, allocations: 185 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.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2063/0.2063, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.383, allocations: 60.82 MB / 0.5185 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003193/0.3862, allocations: 1.645 MB / 0.5201 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.387, allocations: 451.9 kB / 0.5205 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.3871, allocations: 2.281 kB / 0.5205 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.3874, allocations: 73.56 kB / 0.5206 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.3877, allocations: 59.12 kB / 0.5206 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.3882, allocations: 179.7 kB / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.3884, allocations: 87.84 kB / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3886, allocations: 25.83 kB / 0.5209 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.3887, allocations: 39.28 kB / 0.5209 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3888, allocations: 52.84 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.3888, allocations: 4.219 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.389, allocations: 43.58 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.389, allocations: 27 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.3891, allocations: 36.83 kB / 0.5211 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3894, allocations: 124.8 kB / 0.5212 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3894, allocations: 0 / 0.5212 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3894, allocations: 5.188 kB / 0.5212 GB, free: 1.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3894, allocations: 0 / 0.5212 GB, free: 1.422 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.0005557/0.39, allocations: 426.9 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.39, allocations: 9.906 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.3901, allocations: 37.66 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.3901, allocations: 14.11 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3903, allocations: 201.7 kB / 0.5219 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3904, allocations: 2.094 kB / 0.5219 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.3904, allocations: 7.75 kB / 0.5219 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.3906, allocations: 69.73 kB / 0.522 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3906, allocations: 2.047 kB / 0.522 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3906, allocations: 3.938 kB / 0.522 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3906, allocations: 1.406 kB / 0.522 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.3908, allocations: 46.83 kB / 0.522 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.3913, allocations: 331.1 kB / 0.5223 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.3916, allocations: 60.72 kB / 0.5224 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.3917, allocations: 29.88 kB / 0.5224 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3917, allocations: 5.875 kB / 0.5224 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.3917, allocations: 31.66 kB / 0.5224 GB, free: 280 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.3917, allocations: 4 kB / 0.5224 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001667/0.3934, allocations: 419.7 kB / 0.5229 GB, free: 148 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.3934, allocations: 52.84 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.3937, allocations: 214 kB / 0.5231 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3937, allocations: 29.7 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.3938, allocations: 109.1 kB / 0.5232 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.3939, allocations: 39.34 kB / 0.5233 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.3939, allocations: 23.88 kB / 0.5233 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3941, allocations: 328 kB / 0.5236 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3943, allocations: 50.27 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3945, allocations: 61.28 kB / 0.5237 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.3948, allocations: 130.7 kB / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3948, allocations: 0 / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003923/0.3952, allocations: 157.8 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3952, allocations: 6.578 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3952, allocations: 0 / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3953, allocations: 9.156 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3954, allocations: 29.44 kB / 0.524 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3954, allocations: 1.25 kB / 0.524 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.3955, allocations: 13.48 kB / 0.524 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3955, allocations: 3.422 kB / 0.5241 GB, free: 15.28 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.0001453/0.3957, allocations: 133.8 kB / 0.5242 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.3957, allocations: 13.53 kB / 0.5242 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.3962, allocations: 188.9 kB / 0.5244 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3962, allocations: 10.02 kB / 0.5244 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.3963, allocations: 0.6562 kB / 0.5244 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3963, allocations: 6.641 kB / 0.5244 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.3972, allocations: 0.5065 MB / 0.5249 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3972, allocations: 0 / 0.5249 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3974, allocations: 30.12 kB / 0.5249 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.3974, allocations: 1.719 kB / 0.5249 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3974, allocations: 2.359 kB / 0.5249 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3974, allocations: 0.6562 kB / 0.5249 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3974, allocations: 1.938 kB / 0.5249 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.3978, allocations: 283.1 kB / 0.5252 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.3979, allocations: 91.09 kB / 0.5253 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.398, allocations: 3.906 kB / 0.5253 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.3981, allocations: 10.12 kB / 0.5253 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.3981, allocations: 15.03 kB / 0.5253 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.3981, allocations: 4.344 kB / 0.5253 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.3983, allocations: 163 kB / 0.5255 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3983, allocations: 0 / 0.5255 GB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.3986, allocations: 24.66 kB / 0.5255 GB, free: 14.22 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.001735/0.4003, allocations: 1.164 MB / 0.5266 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.4007, allocations: 131.8 kB / 0.5267 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4008, allocations: 0 / 0.5267 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.401, allocations: 74.89 kB / 0.5268 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4014, allocations: 19.53 kB / 0.5268 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.404, allocations: 1.943 MB / 0.5287 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.4044, allocations: 0.7191 MB / 0.5294 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.4045, allocations: 35.55 kB / 0.5295 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.4046, allocations: 38.61 kB / 0.5295 GB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4046, allocations: 0 / 0.5295 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.4252, allocations: 3.56 MB / 0.533 GB, free: 9.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.203, allocations: 6.484 kB / 0.533 GB, free: 9.281 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_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_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches