Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001306/0.001306, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001337/0.001338, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.217/0.217, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3872, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004103/0.3913, allocations: 1.971 MB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.3936, allocations: 1.137 MB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.3938, allocations: 2.594 kB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.3942, allocations: 47.89 kB / 0.5215 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.3947, allocations: 144.3 kB / 0.5217 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.3965, allocations: 0.594 MB / 0.5222 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006/0.3971, allocations: 273.6 kB / 0.5225 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.3974, allocations: 70.39 kB / 0.5226 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.3977, allocations: 129.8 kB / 0.5227 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.3981, allocations: 181.8 kB / 0.5229 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.3981, allocations: 16.08 kB / 0.5229 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.3984, allocations: 56.44 kB / 0.5229 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.3986, allocations: 138 kB / 0.5231 GB, free: 468 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.3988, allocations: 169.3 kB / 0.5232 GB, free: 340 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000757/0.3995, allocations: 397.1 kB / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3996, allocations: 0 / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3996, allocations: 0.7031 kB / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.3996, allocations: 0 / 0.5236 GB, free: 176 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.001508/0.4011, allocations: 0.7943 MB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.4012, allocations: 9.625 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.4013, allocations: 41.16 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.4014, allocations: 60.97 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009249/0.4023, allocations: 471.9 kB / 0.5249 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.4024, allocations: 9.156 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.4024, allocations: 14.81 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.4029, allocations: 147.3 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.403, allocations: 0 / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.403, allocations: 1.984 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.403, allocations: 2.75 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.4034, allocations: 99.11 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.405, allocations: 0.6988 MB / 0.5259 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.4054, allocations: 112.1 kB / 0.526 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.4056, allocations: 49.73 kB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.4056, allocations: 5.688 kB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4057, allocations: 38.17 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.4057, allocations: 0 / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00204/0.4077, allocations: 0.5506 MB / 0.5266 GB, free: 14.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.4078, allocations: 83.86 kB / 0.5267 GB, free: 14.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.4094, allocations: 0.8847 MB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.4094, allocations: 29.7 kB / 0.5276 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.4097, allocations: 260.3 kB / 0.5278 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.144e-05/0.4098, allocations: 53.75 kB / 0.5279 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.4099, allocations: 37.64 kB / 0.5279 GB, free: 13.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003715/0.4103, allocations: 369.7 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.4106, allocations: 67.45 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.4109, allocations: 94.91 kB / 0.5284 GB, free: 12.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.4113, allocations: 152.4 kB / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4113, allocations: 1.031 kB / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005822/0.4119, allocations: 250.5 kB / 0.5288 GB, free: 12.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4119, allocations: 5.906 kB / 0.5288 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4119, allocations: 0 / 0.5288 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.412, allocations: 1.438 kB / 0.5288 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.4122, allocations: 37.28 kB / 0.5289 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4122, allocations: 1.25 kB / 0.5289 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.4124, allocations: 19.73 kB / 0.5289 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.4124, allocations: 4.562 kB / 0.5289 GB, free: 12.63 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.0002372/0.4126, allocations: 218.6 kB / 0.5291 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.4128, allocations: 56.06 kB / 0.5291 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006616/0.4134, allocations: 287.3 kB / 0.5294 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4135, allocations: 6.469 kB / 0.5294 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4135, allocations: 0 / 0.5294 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4135, allocations: 5.203 kB / 0.5294 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.4148, allocations: 0.8061 MB / 0.5302 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4148, allocations: 0 / 0.5302 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.415, allocations: 43.53 kB / 0.5303 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.415, allocations: 1.344 kB / 0.5303 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.415, allocations: 3.125 kB / 0.5303 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.415, allocations: 3.938 kB / 0.5303 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.415, allocations: 5.234 kB / 0.5303 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.4157, allocations: 419.1 kB / 0.5307 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.4158, allocations: 158.3 kB / 0.5308 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.4159, allocations: 1.281 kB / 0.5308 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.4161, allocations: 19.11 kB / 0.5308 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.4162, allocations: 15.08 kB / 0.5309 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.4162, allocations: 4.375 kB / 0.5309 GB, free: 11.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008143/0.417, allocations: 0.6459 MB / 0.5315 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.417, allocations: 0 / 0.5315 GB, free: 10.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.4174, allocations: 58.14 kB / 0.5315 GB, free: 10.82 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.002102/0.4195, allocations: 1.251 MB / 0.5328 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.4203, allocations: 165.1 kB / 0.5329 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4203, allocations: 0 / 0.5329 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.4206, allocations: 87.75 kB / 0.533 GB, free: 9.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.4216, allocations: 86.17 kB / 0.5331 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009932/0.4316, allocations: 5.08 MB / 0.538 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.4323, allocations: 0.8633 MB / 0.5389 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.4326, allocations: 96.88 kB / 0.539 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.433, allocations: 164.8 kB / 0.5391 GB, free: 5.895 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.433, allocations: 0 / 0.5391 GB, free: 5.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.4662, allocations: 9.779 MB / 0.5487 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/8.95, allocations: 8.953 kB / 0.5487 GB, free: 12.88 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches