Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",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.001273/0.001273, 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.001223/0.001223, 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.388/1.388, 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.2255/0.2255, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 60.05 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3254, allocations: 60.83 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003138/0.3286, allocations: 1.62 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.3294, allocations: 0.6821 MB / 0.5207 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.3295, allocations: 1.031 kB / 0.5207 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.3297, allocations: 32.53 kB / 0.5207 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.33, allocations: 44.72 kB / 0.5208 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.33, allocations: 3.938 kB / 0.5208 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.3302, allocations: 29.31 kB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.3302, allocations: 3.656 kB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.3302, allocations: 9.531 kB / 0.5208 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.3303, allocations: 21.02 kB / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3304, allocations: 0 / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.428e-05/0.3304, allocations: 6.547 kB / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.3305, allocations: 19.19 kB / 0.5208 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.3305, allocations: 20.66 kB / 0.5209 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3307, allocations: 79.12 kB / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3307, allocations: 0 / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3307, allocations: 0 / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3307, allocations: 1.312 kB / 0.5209 GB, free: 1.57 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.0003257/0.3311, allocations: 360.8 kB / 0.5213 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3311, allocations: 9.781 kB / 0.5213 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.3311, allocations: 47.89 kB / 0.5213 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.3312, allocations: 6.891 kB / 0.5213 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.815e-05/0.3313, allocations: 173.8 kB / 0.5215 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3313, allocations: 5.594 kB / 0.5215 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.3313, allocations: 6.75 kB / 0.5215 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3315, allocations: 120.3 kB / 0.5216 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3315, allocations: 4.641 kB / 0.5216 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.3315, allocations: 1.562 kB / 0.5216 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/0.3316, allocations: 27.23 kB / 0.5217 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.3316, allocations: 42.94 kB / 0.5217 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.3321, allocations: 0.8972 MB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3322, allocations: 170.9 kB / 0.5228 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.3323, allocations: 84.08 kB / 0.5228 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.3323, allocations: 76.03 kB / 0.5229 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.3324, allocations: 107.1 kB / 0.523 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3324, allocations: 4 kB / 0.523 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.282e-05/0.3325, allocations: 34.61 kB / 0.523 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.3326, allocations: 128.5 kB / 0.5232 GB, free: 15.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.3328, allocations: 188.8 kB / 0.5233 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3328, allocations: 25.7 kB / 0.5234 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3329, allocations: 159.6 kB / 0.5235 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.333, allocations: 1.922 kB / 0.5235 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.333, allocations: 44.09 kB / 0.5236 GB, free: 14.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3332, allocations: 325.2 kB / 0.5239 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.3332, allocations: 31.3 kB / 0.5239 GB, free: 14.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.3334, allocations: 156.2 kB / 0.5241 GB, free: 14.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3336, allocations: 207.2 kB / 0.5243 GB, free: 14.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3337, allocations: 1.062 kB / 0.5243 GB, free: 14.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003102/0.334, allocations: 195.5 kB / 0.5244 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.334, allocations: 7.438 kB / 0.5244 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.334, allocations: 8.594 kB / 0.5245 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.334, allocations: 6.688 kB / 0.5245 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3342, allocations: 36.92 kB / 0.5245 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3342, allocations: 15.47 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3343, allocations: 28.09 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.3343, allocations: 9.156 kB / 0.5245 GB, free: 14.11 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.000145/0.3345, allocations: 214.2 kB / 0.5248 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.3346, allocations: 114 kB / 0.5249 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.835e-05/0.3346, allocations: 123.6 kB / 0.525 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.864e-05/0.3347, allocations: 178.4 kB / 0.5251 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-05/0.3348, allocations: 185 kB / 0.5253 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-05/0.3349, allocations: 186 kB / 0.5255 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.3352, allocations: 424.3 kB / 0.5259 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.537e-05/0.3353, allocations: 110.8 kB / 0.526 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.3354, allocations: 105.6 kB / 0.5261 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.663e-05/0.3354, allocations: 178 kB / 0.5263 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-05/0.3355, allocations: 182.2 kB / 0.5265 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.661e-05/0.3356, allocations: 178.7 kB / 0.5266 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.179e-05/0.3357, allocations: 185.9 kB / 0.5268 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.3359, allocations: 316.6 kB / 0.5271 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.336, allocations: 189.9 kB / 0.5273 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3361, allocations: 182.2 kB / 0.5275 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3362, allocations: 106.8 kB / 0.5276 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.3363, allocations: 182.2 kB / 0.5277 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.3364, allocations: 106.9 kB / 0.5278 GB, free: 10.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.3365, allocations: 130.2 kB / 0.528 GB, free: 10.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3365, allocations: 0 / 0.528 GB, free: 10.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000303/0.3368, allocations: 11.59 kB / 0.528 GB, free: 10.5 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.001019/0.3379, allocations: 0.9118 MB / 0.5289 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.338, allocations: 74.67 kB / 0.5289 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.338, allocations: 0 / 0.5289 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.3381, allocations: 0.9375 kB / 0.5289 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.3385, allocations: 475.8 kB / 0.5294 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.3404, allocations: 1.872 MB / 0.5312 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3407, allocations: 0.7063 MB / 0.5319 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.3409, allocations: 53.12 kB / 0.532 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.341, allocations: 29.72 kB / 0.532 GB, free: 6.648 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.341, allocations: 0 / 0.532 GB, free: 6.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.3635, allocations: 2.095 MB / 0.534 GB, free: 6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.327, allocations: 12.19 kB / 0.534 GB, free: 5.996 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_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_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches