Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.00138/0.00138, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001507/0.001507, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.476/1.476, 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.2276/0.2276, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4021, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004112/0.4063, allocations: 2.035 MB / 0.5204 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.4082, allocations: 1.05 MB / 0.5214 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.4085, allocations: 1.469 kB / 0.5214 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.4088, allocations: 49.19 kB / 0.5215 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007362/0.4096, allocations: 149.9 kB / 0.5216 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.4109, allocations: 428.5 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007148/0.4117, allocations: 284.4 kB / 0.5223 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.4119, allocations: 59.55 kB / 0.5224 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.4123, allocations: 134.2 kB / 0.5225 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.4127, allocations: 190.5 kB / 0.5227 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.819e-05/0.4128, allocations: 13.75 kB / 0.5227 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.4129, allocations: 62.19 kB / 0.5228 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.4131, allocations: 133 kB / 0.5229 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.4133, allocations: 180.3 kB / 0.5231 GB, free: 408 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.414, allocations: 406.1 kB / 0.5234 GB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.414, allocations: 1.188 kB / 0.5234 GB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.414, allocations: 4 kB / 0.5234 GB, free: 232 kB / 382.1 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.414, allocations: 0.6562 kB / 0.5234 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.001507/0.4156, allocations: 0.8102 MB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4156, allocations: 8.969 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.4157, allocations: 41.03 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.4158, allocations: 56.81 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006782/0.4165, allocations: 465.2 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.4165, allocations: 12.5 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.4166, allocations: 19.52 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.4169, allocations: 137.3 kB / 0.5249 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.417, allocations: 9.422 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.417, allocations: 8.938 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.417, allocations: 2.281 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.4173, allocations: 101.5 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.4185, allocations: 0.6818 MB / 0.5257 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.4189, allocations: 123 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.419, allocations: 61.06 kB / 0.5259 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.4191, allocations: 2.188 kB / 0.5259 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.4191, allocations: 40.31 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.4191, allocations: 0 / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002191/0.4213, allocations: 0.6856 MB / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.4214, allocations: 78.48 kB / 0.5267 GB, free: 14.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.4226, allocations: 0.8776 MB / 0.5275 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.4226, allocations: 31.23 kB / 0.5276 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.4228, allocations: 252.8 kB / 0.5278 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.4229, allocations: 74.86 kB / 0.5279 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.423, allocations: 38.81 kB / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4232, allocations: 377.2 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.4235, allocations: 90.2 kB / 0.5284 GB, free: 12.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.4237, allocations: 111.7 kB / 0.5285 GB, free: 12.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.4243, allocations: 209.3 kB / 0.5287 GB, free: 12.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4243, allocations: 3.938 kB / 0.5287 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007422/0.425, allocations: 304.1 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4251, allocations: 4.594 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4251, allocations: 5.141 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4251, allocations: 1.281 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.4254, allocations: 54.45 kB / 0.529 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4254, allocations: 0.9688 kB / 0.529 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.4256, allocations: 30.09 kB / 0.5291 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.4257, allocations: 5.312 kB / 0.5291 GB, free: 12.54 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 (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.0002298/0.4259, allocations: 208.9 kB / 0.5293 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.426, allocations: 56.81 kB / 0.5293 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008256/0.4269, allocations: 364.1 kB / 0.5297 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4269, allocations: 3.469 kB / 0.5297 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4269, allocations: 0 / 0.5297 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4269, allocations: 1.188 kB / 0.5297 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.4283, allocations: 0.8835 MB / 0.5305 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4284, allocations: 1.281 kB / 0.5305 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.4286, allocations: 57.17 kB / 0.5306 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4286, allocations: 1.188 kB / 0.5306 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4286, allocations: 3.188 kB / 0.5306 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.4287, allocations: 8.922 kB / 0.5306 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4287, allocations: 1.219 kB / 0.5306 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.4294, allocations: 481.6 kB / 0.5311 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.4296, allocations: 151 kB / 0.5312 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.4297, allocations: 5 kB / 0.5312 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.4299, allocations: 33.06 kB / 0.5312 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.43, allocations: 18.7 kB / 0.5313 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.4301, allocations: 9.391 kB / 0.5313 GB, free: 10.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008164/0.4309, allocations: 0.6318 MB / 0.5319 GB, free: 10.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4309, allocations: 0 / 0.5319 GB, free: 10.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004227/0.4313, allocations: 68.2 kB / 0.532 GB, free: 10.61 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 (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 Backend phase and start with SimCode phase: time 0.001975/0.4333, allocations: 1.318 MB / 0.5332 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006651/0.434, allocations: 232.1 kB / 0.5335 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.434, allocations: 1.188 kB / 0.5335 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.4343, allocations: 125.9 kB / 0.5336 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.435, allocations: 79.8 kB / 0.5337 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/0.4436, allocations: 5.164 MB / 0.5387 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.4443, allocations: 0.8567 MB / 0.5395 GB, free: 5.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002849/0.4446, allocations: 82.47 kB / 0.5396 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.4449, allocations: 180.7 kB / 0.5398 GB, free: 5.551 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4449, allocations: 4 kB / 0.5398 GB, free: 5.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.4772, allocations: 10.03 MB / 0.5496 GB, free: 11.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/8.799, allocations: 5.016 kB / 0.5496 GB, free: 11.98 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches