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.001122/0.001121, allocations: 113.8 kB / 17.78 MB, free: 5.305 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.001126/0.001126, allocations: 179.1 kB / 18.71 MB, free: 4.383 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.14 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.2025/0.2025, allocations: 44.19 MB / 336.8 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 71.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3486, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002533/0.3512, allocations: 1.624 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000698/0.3519, allocations: 0.6826 MB / 0.5207 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.352, allocations: 1.562 kB / 0.5207 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.3522, allocations: 27.94 kB / 0.5207 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.3524, allocations: 39.47 kB / 0.5207 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.378e-06/0.3524, allocations: 7.938 kB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3525, allocations: 33.84 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.3526, allocations: 4.25 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.3526, allocations: 9.25 kB / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.3527, allocations: 15.81 kB / 0.5208 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.3527, allocations: 1.469 kB / 0.5208 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.3527, allocations: 11.66 kB / 0.5208 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.3528, allocations: 17.38 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.3528, allocations: 17.66 kB / 0.5209 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3529, allocations: 77.41 kB / 0.5209 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3529, allocations: 1.469 kB / 0.5209 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.353, allocations: 0.7031 kB / 0.5209 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.353, allocations: 0 / 0.5209 GB, free: 1.562 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.0003072/0.3533, allocations: 368.8 kB / 0.5213 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3533, allocations: 9.375 kB / 0.5213 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.3534, allocations: 40.75 kB / 0.5213 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.3534, allocations: 6.938 kB / 0.5213 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.3535, allocations: 173.2 kB / 0.5215 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3535, allocations: 2.078 kB / 0.5215 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3535, allocations: 6.719 kB / 0.5215 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3537, allocations: 123.7 kB / 0.5216 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3537, allocations: 4.969 kB / 0.5216 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3537, allocations: 1.719 kB / 0.5216 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/0.3538, allocations: 27.11 kB / 0.5217 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.3539, allocations: 41.89 kB / 0.5217 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.3543, allocations: 0.8944 MB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.3544, allocations: 174.2 kB / 0.5227 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.3545, allocations: 85.39 kB / 0.5228 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3545, allocations: 75.28 kB / 0.5229 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.3545, allocations: 108.2 kB / 0.523 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3546, allocations: 4 kB / 0.523 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.154e-05/0.3546, allocations: 34.45 kB / 0.523 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.3547, allocations: 126.7 kB / 0.5232 GB, free: 15.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3549, allocations: 194 kB / 0.5233 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3549, allocations: 25.7 kB / 0.5234 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.355, allocations: 154.9 kB / 0.5235 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.355, allocations: 2.266 kB / 0.5235 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.3551, allocations: 43.19 kB / 0.5236 GB, free: 14.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3552, allocations: 325.6 kB / 0.5239 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.3553, allocations: 35.34 kB / 0.5239 GB, free: 14.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3554, allocations: 152.3 kB / 0.524 GB, free: 14.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.3556, allocations: 206.6 kB / 0.5242 GB, free: 14.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3556, allocations: 1.219 kB / 0.5242 GB, free: 14.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003072/0.3559, allocations: 200.5 kB / 0.5244 GB, free: 14.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.356, allocations: 7.219 kB / 0.5244 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.356, allocations: 9.203 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.356, allocations: 6.125 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3561, allocations: 36.47 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3561, allocations: 14.81 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.3562, allocations: 29.7 kB / 0.5245 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3563, allocations: 9.25 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.0001166/0.3564, allocations: 209 kB / 0.5247 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.3565, allocations: 118.2 kB / 0.5249 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.328e-05/0.3565, allocations: 123.9 kB / 0.525 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.658e-05/0.3566, allocations: 178.2 kB / 0.5251 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-05/0.3567, allocations: 182.1 kB / 0.5253 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.631e-05/0.3567, allocations: 186.1 kB / 0.5255 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.357, allocations: 424 kB / 0.5259 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-05/0.357, allocations: 111 kB / 0.526 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.3571, allocations: 101.6 kB / 0.5261 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.023e-05/0.3571, allocations: 178.4 kB / 0.5263 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.3572, allocations: 184.8 kB / 0.5265 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-05/0.3573, allocations: 178.5 kB / 0.5266 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.728e-05/0.3574, allocations: 183.4 kB / 0.5268 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.3575, allocations: 319.2 kB / 0.5271 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.3576, allocations: 186.2 kB / 0.5273 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.3577, allocations: 183 kB / 0.5275 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.3577, allocations: 109.5 kB / 0.5276 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.3578, allocations: 182.4 kB / 0.5277 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.3579, allocations: 107.1 kB / 0.5278 GB, free: 10.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.358, allocations: 126.4 kB / 0.528 GB, free: 10.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.358, allocations: 0 / 0.528 GB, free: 10.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.3583, allocations: 16.28 kB / 0.528 GB, free: 10.49 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.0007385/0.359, allocations: 0.9085 MB / 0.5289 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.3592, allocations: 74.12 kB / 0.5289 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3592, allocations: 1.25 kB / 0.5289 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.3592, allocations: 0 / 0.5289 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3597, allocations: 472 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.00196/0.3616, allocations: 1.88 MB / 0.5312 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3619, allocations: 0.7018 MB / 0.5319 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.3622, allocations: 53.41 kB / 0.532 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.3622, allocations: 25.44 kB / 0.532 GB, free: 6.645 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3622, allocations: 0 / 0.532 GB, free: 6.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.3817, allocations: 2.103 MB / 0.534 GB, free: 6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.043, allocations: 9.625 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