Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",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.001831/0.001831, allocations: 116.6 kB / 17.78 MB, free: 5.262 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.001927/0.001928, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2134/0.2134, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3358, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002485/0.3383, allocations: 1.643 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000617/0.3389, allocations: 423.9 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.339, allocations: 1.25 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.3392, allocations: 52.88 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.3394, allocations: 60.2 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3397, allocations: 131.8 kB / 0.5207 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3399, allocations: 76.88 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.34, allocations: 22.98 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.34, allocations: 36.8 kB / 0.5208 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.3401, allocations: 45.88 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3401, allocations: 3.25 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.433e-05/0.3402, allocations: 52.47 kB / 0.5209 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.3403, allocations: 23.95 kB / 0.5209 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.3403, allocations: 27.59 kB / 0.521 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.3405, allocations: 121.1 kB / 0.5211 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3405, allocations: 0 / 0.5211 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3405, allocations: 0 / 0.5211 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3406, allocations: 0 / 0.5211 GB, free: 1.594 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.0004364/0.341, allocations: 414.6 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.341, allocations: 10.2 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.3411, allocations: 36.47 kB / 0.5215 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.3411, allocations: 15.05 kB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3413, allocations: 198.5 kB / 0.5217 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3413, allocations: 5.531 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3413, allocations: 12.3 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3415, allocations: 66.95 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3415, allocations: 0 / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3415, allocations: 2.016 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3415, allocations: 1.531 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3417, allocations: 38.06 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.342, allocations: 314.4 kB / 0.5222 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3422, allocations: 53.45 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.3423, allocations: 25.69 kB / 0.5222 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.3423, allocations: 1.062 kB / 0.5222 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.3424, allocations: 40.45 kB / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3424, allocations: 0 / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001363/0.3437, allocations: 389.8 kB / 0.5226 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.3438, allocations: 53.44 kB / 0.5227 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3439, allocations: 192.2 kB / 0.5229 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.344, allocations: 30.7 kB / 0.5229 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.344, allocations: 109.6 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.3441, allocations: 39.58 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.3441, allocations: 22.08 kB / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3443, allocations: 325.9 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3444, allocations: 39.86 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3446, allocations: 44.56 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.3448, allocations: 105.3 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3448, allocations: 0 / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003121/0.3451, allocations: 135.1 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3452, allocations: 5.406 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3452, allocations: 4 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3452, allocations: 6.094 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3453, allocations: 29.08 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3453, allocations: 0 / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.3454, allocations: 10.02 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3454, allocations: 2.219 kB / 0.5237 GB, free: 15.51 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.0001164/0.3455, allocations: 130.4 kB / 0.5239 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.3456, allocations: 14.28 kB / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.346, allocations: 184.8 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.346, allocations: 1.844 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.346, allocations: 0.7969 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.346, allocations: 8.719 kB / 0.5241 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/0.3467, allocations: 471.2 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3468, allocations: 0.75 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3469, allocations: 30.62 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3469, allocations: 2.688 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3469, allocations: 4 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3469, allocations: 2.562 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3469, allocations: 2.156 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.3473, allocations: 252.7 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.3474, allocations: 93.77 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3474, allocations: 2.484 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.3475, allocations: 14.2 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.3476, allocations: 17.02 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.3476, allocations: 2.438 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.3477, allocations: 143.9 kB / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3477, allocations: 0 / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.348, allocations: 22.84 kB / 0.5251 GB, free: 14.48 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.00225/0.3502, allocations: 1.15 MB / 0.5262 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3506, allocations: 104 kB / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3506, allocations: 0 / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.3508, allocations: 63.2 kB / 0.5264 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.3511, allocations: 24.52 kB / 0.5264 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3535, allocations: 1.787 MB / 0.5281 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.3539, allocations: 0.709 MB / 0.5288 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.354, allocations: 21.12 kB / 0.5288 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.3541, allocations: 34.25 kB / 0.5289 GB, free: 11.45 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3541, allocations: 0 / 0.5289 GB, free: 11.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.3807, allocations: 3.325 MB / 0.5321 GB, free: 9.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.349, allocations: 10.72 kB / 0.5321 GB, free: 9.832 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_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_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches