Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.001659/0.001659, 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.001947/0.001947, allocations: 184.1 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.449/1.449, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.22/0.22, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3889, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003218/0.3921, allocations: 1.635 MB / 0.52 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.393, allocations: 0.6813 MB / 0.5207 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.3931, allocations: 1.094 kB / 0.5207 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.3934, allocations: 29.25 kB / 0.5207 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.3936, allocations: 39.45 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.899e-06/0.3936, allocations: 3.938 kB / 0.5208 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3938, allocations: 29.95 kB / 0.5208 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.3938, allocations: 7.484 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.58e-05/0.3939, allocations: 14.05 kB / 0.5208 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.3939, allocations: 16.12 kB / 0.5208 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.394, allocations: 1 kB / 0.5208 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.394, allocations: 10.23 kB / 0.5208 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.3941, allocations: 15.7 kB / 0.5209 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.3941, allocations: 23.7 kB / 0.5209 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.3943, allocations: 67.55 kB / 0.5209 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3943, allocations: 0 / 0.5209 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3943, allocations: 0 / 0.5209 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3943, allocations: 4 kB / 0.5209 GB, free: 1.539 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003702/0.3947, allocations: 366 kB / 0.5213 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3947, allocations: 8.844 kB / 0.5213 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.3948, allocations: 40.34 kB / 0.5213 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.3948, allocations: 7.297 kB / 0.5213 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.395, allocations: 174 kB / 0.5215 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.395, allocations: 1.469 kB / 0.5215 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.395, allocations: 6.656 kB / 0.5215 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.3952, allocations: 124.3 kB / 0.5216 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3952, allocations: 5.312 kB / 0.5216 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3952, allocations: 0 / 0.5216 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.3953, allocations: 24.83 kB / 0.5217 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.3954, allocations: 46.17 kB / 0.5217 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.3959, allocations: 0.8977 MB / 0.5226 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.396, allocations: 174.4 kB / 0.5228 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.396, allocations: 84.08 kB / 0.5228 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.3961, allocations: 75.98 kB / 0.5229 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.3961, allocations: 111 kB / 0.523 GB, free: 15.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3961, allocations: 3.938 kB / 0.523 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.346e-05/0.3962, allocations: 35.36 kB / 0.5231 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.3963, allocations: 134.6 kB / 0.5232 GB, free: 15.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3965, allocations: 190.8 kB / 0.5234 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3965, allocations: 25.7 kB / 0.5234 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3967, allocations: 151 kB / 0.5235 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.3967, allocations: 2 kB / 0.5235 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.3967, allocations: 43.69 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3969, allocations: 320.8 kB / 0.5239 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.3969, allocations: 31.16 kB / 0.5239 GB, free: 14.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3971, allocations: 160.1 kB / 0.5241 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.3973, allocations: 207.2 kB / 0.5243 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3973, allocations: 2.172 kB / 0.5243 GB, free: 14.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000315/0.3977, allocations: 195 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3977, allocations: 6.969 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3977, allocations: 5.469 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3977, allocations: 9.469 kB / 0.5245 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3979, allocations: 34.03 kB / 0.5245 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.3979, allocations: 14.69 kB / 0.5245 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.398, allocations: 28.41 kB / 0.5245 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.398, allocations: 9.344 kB / 0.5246 GB, free: 14.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001567/0.3982, allocations: 214.2 kB / 0.5248 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.3983, allocations: 112.9 kB / 0.5249 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.3984, allocations: 121 kB / 0.525 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.095e-05/0.3985, allocations: 182.2 kB / 0.5252 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.06e-05/0.3986, allocations: 190.1 kB / 0.5253 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.793e-05/0.3986, allocations: 177 kB / 0.5255 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.399, allocations: 424.9 kB / 0.5259 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.366e-05/0.399, allocations: 106.6 kB / 0.526 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.3991, allocations: 102.8 kB / 0.5261 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.635e-05/0.3992, allocations: 184.7 kB / 0.5263 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.904e-05/0.3993, allocations: 177.8 kB / 0.5265 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.738e-05/0.3994, allocations: 178.3 kB / 0.5266 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.337e-05/0.3994, allocations: 186.2 kB / 0.5268 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.3996, allocations: 320.3 kB / 0.5271 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3998, allocations: 189.5 kB / 0.5273 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.3999, allocations: 182.9 kB / 0.5275 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4, allocations: 107.2 kB / 0.5276 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.4001, allocations: 177.1 kB / 0.5277 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.4001, allocations: 106.6 kB / 0.5278 GB, free: 10.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.4003, allocations: 134.7 kB / 0.528 GB, free: 10.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4003, allocations: 0 / 0.528 GB, free: 10.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.4006, allocations: 16.55 kB / 0.528 GB, free: 10.46 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 (0): * Single equations (assignments): 0 * 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.0009665/0.4016, allocations: 0.9055 MB / 0.5289 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.4017, allocations: 78.14 kB / 0.5289 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4017, allocations: 0 / 0.5289 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.4018, allocations: 5.156 kB / 0.5289 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.4021, allocations: 468.5 kB / 0.5294 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.404, allocations: 1.877 MB / 0.5312 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.4043, allocations: 0.7009 MB / 0.5319 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.4045, allocations: 49.33 kB / 0.532 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.4046, allocations: 29.58 kB / 0.532 GB, free: 6.629 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4046, allocations: 1.312 kB / 0.532 GB, free: 6.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.4295, allocations: 2.1 MB / 0.534 GB, free: 5.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.306, allocations: 14 kB / 0.534 GB, free: 5.977 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_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_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches