Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",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.001254/0.001254, allocations: 112.8 kB / 17.77 MB, free: 5.359 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.001098/0.001098, allocations: 184.1 kB / 18.7 MB, free: 4.434 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.3066/0.3066, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3604, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002839/0.3633, allocations: 1.625 MB / 0.52 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3646, allocations: 1.027 MB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.3647, allocations: 1.5 kB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.3649, allocations: 26.94 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.3652, allocations: 42.12 kB / 0.5211 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.3655, allocations: 135.9 kB / 0.5212 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3657, allocations: 61.86 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3658, allocations: 17.52 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.3659, allocations: 29.27 kB / 0.5213 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.366, allocations: 30.64 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.366, allocations: 4.25 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3662, allocations: 51.67 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.3662, allocations: 15.36 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.3663, allocations: 23 kB / 0.5215 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3665, allocations: 104.7 kB / 0.5216 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3665, allocations: 0 / 0.5216 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3665, allocations: 1.125 kB / 0.5216 GB, free: 1.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3665, allocations: 4 kB / 0.5216 GB, free: 1.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004953/0.367, allocations: 396.2 kB / 0.5219 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3671, allocations: 14.14 kB / 0.5219 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.776e-05/0.3671, allocations: 32.7 kB / 0.522 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.3672, allocations: 8.422 kB / 0.522 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.3673, allocations: 195 kB / 0.5222 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.3673, allocations: 2.688 kB / 0.5222 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.3674, allocations: 6.469 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.3676, allocations: 81.16 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3676, allocations: 0 / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3676, allocations: 1.531 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3676, allocations: 1.375 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3677, allocations: 44.31 kB / 0.5223 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.3681, allocations: 291.1 kB / 0.5226 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3683, allocations: 43.47 kB / 0.5226 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/0.3683, allocations: 20.66 kB / 0.5226 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3684, allocations: 1.094 kB / 0.5226 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.3684, allocations: 40.38 kB / 0.5227 GB, free: 48 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.3684, allocations: 4 kB / 0.5227 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007948/0.3692, allocations: 199.2 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.3693, allocations: 78.48 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3695, allocations: 143 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3695, allocations: 31.23 kB / 0.5231 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.3695, allocations: 96.86 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.3696, allocations: 26.2 kB / 0.5232 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.3696, allocations: 19.84 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3698, allocations: 320.6 kB / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3699, allocations: 32.53 kB / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.37, allocations: 47.56 kB / 0.5236 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.3703, allocations: 73.09 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3703, allocations: 3.938 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003061/0.3706, allocations: 108.5 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3706, allocations: 10.52 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3706, allocations: 3.984 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3707, allocations: 0.9688 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3708, allocations: 23.55 kB / 0.5238 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3708, allocations: 9.031 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.3709, allocations: 9.438 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3709, allocations: 1.922 kB / 0.5239 GB, free: 15.14 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 (7): * Single equations (assignments): 7 * 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.0001072/0.371, allocations: 119.5 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.3711, allocations: 8.266 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.3715, allocations: 126.9 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3715, allocations: 3.812 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3715, allocations: 4.688 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3715, allocations: 0 / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.3721, allocations: 387.2 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3721, allocations: 3.938 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.3722, allocations: 22.83 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3722, allocations: 5.094 kB / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3722, allocations: 1.703 kB / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3722, allocations: 0 / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3722, allocations: 1.125 kB / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.3726, allocations: 210.1 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.3726, allocations: 89.81 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3727, allocations: 4.594 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.3728, allocations: 10.47 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.3728, allocations: 9.094 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.3728, allocations: 2.5 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.753e-05/0.373, allocations: 110.3 kB / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.373, allocations: 3.938 kB / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.3732, allocations: 27.47 kB / 0.525 GB, free: 14.24 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 (7): * Single equations (assignments): 7 * 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.00162/0.3749, allocations: 1.091 MB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.3752, allocations: 83.09 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3752, allocations: 0 / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3753, allocations: 37.08 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3757, allocations: 18.61 kB / 0.5262 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3778, allocations: 1.534 MB / 0.5277 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3781, allocations: 0.697 MB / 0.5283 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.901e-05/0.3782, allocations: 12.88 kB / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.3783, allocations: 30.48 kB / 0.5284 GB, free: 11.39 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3783, allocations: 1.375 kB / 0.5284 GB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.3984, allocations: 3.046 MB / 0.5314 GB, free: 9.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/8.004, allocations: 14.77 kB / 0.5314 GB, free: 9.926 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches