Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.001799/0.001799, 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.001923/0.001923, 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.491/1.491, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2477/0.2477, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.363, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002712/0.3658, allocations: 1.64 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007472/0.3665, allocations: 0.6827 MB / 0.5207 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.3666, allocations: 0 / 0.5207 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.3668, allocations: 28.7 kB / 0.5207 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.367, allocations: 47.97 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.448e-06/0.3671, allocations: 4 kB / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.3672, allocations: 26.78 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.3673, allocations: 2.312 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.3673, allocations: 13.44 kB / 0.5208 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.3674, allocations: 16.38 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.3674, allocations: 1.531 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.756e-05/0.3674, allocations: 7.281 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.3675, allocations: 22.45 kB / 0.5209 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.3675, allocations: 15.59 kB / 0.5209 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.3677, allocations: 79.36 kB / 0.5209 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3677, allocations: 0.7031 kB / 0.5209 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3677, allocations: 0 / 0.5209 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3677, allocations: 0 / 0.5209 GB, free: 1.551 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.0003189/0.368, allocations: 361 kB / 0.5213 GB, free: 1.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3681, allocations: 9.781 kB / 0.5213 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.3681, allocations: 39.69 kB / 0.5213 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.3681, allocations: 11.78 kB / 0.5213 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.3682, allocations: 169.8 kB / 0.5215 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3683, allocations: 1.375 kB / 0.5215 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3683, allocations: 14.52 kB / 0.5215 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3684, allocations: 112.7 kB / 0.5216 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3685, allocations: 8.438 kB / 0.5216 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3685, allocations: 1.375 kB / 0.5216 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.3685, allocations: 27.33 kB / 0.5217 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.28e-05/0.3686, allocations: 46.88 kB / 0.5217 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.3691, allocations: 0.9011 MB / 0.5226 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3692, allocations: 166.9 kB / 0.5228 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.3693, allocations: 88.11 kB / 0.5228 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.3693, allocations: 76.34 kB / 0.5229 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.3694, allocations: 107.6 kB / 0.523 GB, free: 15.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3694, allocations: 4 kB / 0.523 GB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.7e-05/0.3695, allocations: 34.84 kB / 0.5231 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.3696, allocations: 126.7 kB / 0.5232 GB, free: 15.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3698, allocations: 190.2 kB / 0.5234 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3698, allocations: 25.7 kB / 0.5234 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3699, allocations: 151 kB / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/0.3699, allocations: 2.406 kB / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.37, allocations: 43.23 kB / 0.5236 GB, free: 14.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3702, allocations: 324.5 kB / 0.5239 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/0.3702, allocations: 36.03 kB / 0.5239 GB, free: 14.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3704, allocations: 154.4 kB / 0.5241 GB, free: 14.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.3706, allocations: 202.8 kB / 0.5242 GB, free: 14.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3707, allocations: 1.188 kB / 0.5242 GB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003663/0.371, allocations: 199.7 kB / 0.5244 GB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3711, allocations: 8 kB / 0.5244 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3711, allocations: 4.812 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.3711, allocations: 9.781 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3712, allocations: 41.81 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.3713, allocations: 10.3 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.765e-05/0.3714, allocations: 28.48 kB / 0.5245 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3714, allocations: 9.375 kB / 0.5245 GB, free: 14.09 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.0001442/0.3715, allocations: 213.9 kB / 0.5248 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.3716, allocations: 117.9 kB / 0.5249 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.743e-05/0.3717, allocations: 116.8 kB / 0.525 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.528e-05/0.3718, allocations: 181 kB / 0.5251 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-05/0.3719, allocations: 186.3 kB / 0.5253 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.849e-05/0.3719, allocations: 182.3 kB / 0.5255 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.3722, allocations: 423.5 kB / 0.5259 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.088e-05/0.3723, allocations: 110 kB / 0.526 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.3723, allocations: 103 kB / 0.5261 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.643e-05/0.3724, allocations: 178.3 kB / 0.5263 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/0.3725, allocations: 182.5 kB / 0.5265 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.431e-05/0.3726, allocations: 177 kB / 0.5266 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.48e-05/0.3727, allocations: 186.8 kB / 0.5268 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3729, allocations: 315.8 kB / 0.5271 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.373, allocations: 198.2 kB / 0.5273 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-05/0.3731, allocations: 182.4 kB / 0.5275 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.3732, allocations: 106.3 kB / 0.5276 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.3733, allocations: 182.4 kB / 0.5277 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.3733, allocations: 102.4 kB / 0.5278 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3734, allocations: 130.9 kB / 0.528 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3734, allocations: 0 / 0.528 GB, free: 10.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.3737, allocations: 11.16 kB / 0.528 GB, free: 10.48 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.001046/0.3748, allocations: 0.9155 MB / 0.5289 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.375, allocations: 73.44 kB / 0.5289 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.375, allocations: 2.469 kB / 0.5289 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.375, allocations: 0 / 0.5289 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3754, allocations: 463.7 kB / 0.5294 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.3773, allocations: 1.879 MB / 0.5312 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3776, allocations: 0.7024 MB / 0.5319 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002053/0.3778, allocations: 55.36 kB / 0.532 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.3779, allocations: 32.52 kB / 0.532 GB, free: 6.641 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3779, allocations: 0 / 0.532 GB, free: 6.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.4035, allocations: 2.1 MB / 0.534 GB, free: 5.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.157, allocations: 6.391 kB / 0.534 GB, free: 5.977 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_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_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches