Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",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.001128/0.001128, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001213/0.001213, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2166/0.2166, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 67.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3917, allocations: 60.82 MB / 0.5184 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002814/0.3946, allocations: 1.961 MB / 0.5204 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.396, allocations: 1.033 MB / 0.5214 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.891e-05/0.3961, allocations: 2.594 kB / 0.5214 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.3963, allocations: 42.67 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.3967, allocations: 144.6 kB / 0.5215 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008107/0.3975, allocations: 421.2 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.3978, allocations: 253.4 kB / 0.5222 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.398, allocations: 66.16 kB / 0.5222 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3981, allocations: 119.1 kB / 0.5224 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.3984, allocations: 177.5 kB / 0.5225 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3984, allocations: 15.81 kB / 0.5225 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3986, allocations: 54.08 kB / 0.5226 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3987, allocations: 134.8 kB / 0.5227 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.3988, allocations: 157 kB / 0.5229 GB, free: 400 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.3992, allocations: 390.9 kB / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3993, allocations: 0 / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3993, allocations: 0 / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3993, allocations: 1.031 kB / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001004/0.4003, allocations: 0.7912 MB / 0.524 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4003, allocations: 9.125 kB / 0.524 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.4004, allocations: 44.98 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.08e-05/0.4005, allocations: 55.95 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/0.401, allocations: 456.7 kB / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4011, allocations: 8.5 kB / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.4011, allocations: 11.42 kB / 0.5246 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.4014, allocations: 129.3 kB / 0.5247 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4014, allocations: 1.938 kB / 0.5247 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4014, allocations: 4 kB / 0.5247 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.4014, allocations: 3.156 kB / 0.5247 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.4016, allocations: 76.22 kB / 0.5248 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009511/0.4026, allocations: 0.6785 MB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.4028, allocations: 107.1 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.4029, allocations: 45.69 kB / 0.5256 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4029, allocations: 7.797 kB / 0.5256 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.403, allocations: 35.59 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.403, allocations: 1.875 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00138/0.4044, allocations: 0.5215 MB / 0.5261 GB, free: 14.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.4044, allocations: 83.86 kB / 0.5262 GB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.4055, allocations: 0.8683 MB / 0.5271 GB, free: 13.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.4056, allocations: 27.3 kB / 0.5271 GB, free: 13.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.4058, allocations: 252.4 kB / 0.5273 GB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.4059, allocations: 61.22 kB / 0.5274 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.406, allocations: 37.11 kB / 0.5274 GB, free: 13.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.4062, allocations: 375 kB / 0.5278 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.4064, allocations: 55.81 kB / 0.5278 GB, free: 13.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.4066, allocations: 72.42 kB / 0.5279 GB, free: 13.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.4069, allocations: 134.4 kB / 0.528 GB, free: 13.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4069, allocations: 0 / 0.528 GB, free: 13.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004872/0.4074, allocations: 229.8 kB / 0.5283 GB, free: 12.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4075, allocations: 4.969 kB / 0.5283 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4075, allocations: 0.9688 kB / 0.5283 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4075, allocations: 1.062 kB / 0.5283 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.4077, allocations: 37.19 kB / 0.5283 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4077, allocations: 1.312 kB / 0.5283 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.4079, allocations: 19.66 kB / 0.5283 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.4079, allocations: 9.375 kB / 0.5283 GB, free: 12.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002287/0.4081, allocations: 210.7 kB / 0.5285 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4083, allocations: 55.78 kB / 0.5286 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006197/0.4089, allocations: 270.6 kB / 0.5288 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4089, allocations: 2.719 kB / 0.5288 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4089, allocations: 5.203 kB / 0.5289 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4089, allocations: 0 / 0.5289 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.41, allocations: 0.7677 MB / 0.5296 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4101, allocations: 0 / 0.5296 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.4102, allocations: 47.03 kB / 0.5296 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4103, allocations: 1.344 kB / 0.5296 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4103, allocations: 6.828 kB / 0.5297 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4103, allocations: 4.844 kB / 0.5297 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4103, allocations: 1.062 kB / 0.5297 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.4108, allocations: 397.2 kB / 0.53 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.411, allocations: 149.7 kB / 0.5302 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.411, allocations: 6.094 kB / 0.5302 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4112, allocations: 14.95 kB / 0.5302 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.4113, allocations: 14.89 kB / 0.5302 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.4113, allocations: 8.172 kB / 0.5302 GB, free: 11.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007428/0.4121, allocations: 0.6348 MB / 0.5308 GB, free: 11.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4121, allocations: 3.938 kB / 0.5308 GB, free: 11.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.4125, allocations: 60.19 kB / 0.5309 GB, free: 11.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.00191/0.4144, allocations: 1.231 MB / 0.5321 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.4149, allocations: 147.6 kB / 0.5322 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.4149, allocations: 1.094 kB / 0.5322 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.4151, allocations: 78.95 kB / 0.5323 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.4159, allocations: 82.66 kB / 0.5324 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/0.4227, allocations: 4.936 MB / 0.5372 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.4232, allocations: 0.8557 MB / 0.5381 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.4234, allocations: 80.66 kB / 0.5381 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.4237, allocations: 159.5 kB / 0.5383 GB, free: 6.281 MB / 398.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4237, allocations: 0 / 0.5383 GB, free: 6.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.4497, allocations: 9.555 MB / 0.5476 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.698, allocations: 14.31 kB / 0.5476 GB, free: 13.9 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_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_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches