Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001238/0.001239, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001162/0.001162, allocations: 183 kB / 18.72 MB, free: 4.336 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.365/1.365, 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.2164/0.2164, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4022, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003096/0.4054, allocations: 1.969 MB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.4069, allocations: 0.9574 MB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.407, allocations: 3.375 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.4075, allocations: 258.4 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.408, allocations: 197.7 kB / 0.5217 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.4094, allocations: 0.6432 MB / 0.5224 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.4098, allocations: 311.1 kB / 0.5227 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.41, allocations: 77.34 kB / 0.5227 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.4102, allocations: 138.3 kB / 0.5229 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.4105, allocations: 192.5 kB / 0.523 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.4105, allocations: 13.75 kB / 0.5231 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.4107, allocations: 69.36 kB / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4108, allocations: 105.6 kB / 0.5232 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.556e-05/0.4109, allocations: 114.2 kB / 0.5233 GB, free: 444 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.4113, allocations: 330.2 kB / 0.5237 GB, free: 296 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4113, allocations: 0 / 0.5237 GB, free: 296 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4113, allocations: 0.5625 kB / 0.5237 GB, free: 296 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.4113, allocations: 5.094 kB / 0.5237 GB, free: 292 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008323/0.4122, allocations: 0.6644 MB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4122, allocations: 10.59 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.4123, allocations: 44.8 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.4124, allocations: 43.7 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.4128, allocations: 334.8 kB / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4128, allocations: 8.875 kB / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.4128, allocations: 16.33 kB / 0.5247 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.4131, allocations: 124.6 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4131, allocations: 9.422 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.4132, allocations: 5.469 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4132, allocations: 3.062 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.4134, allocations: 95.33 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.4142, allocations: 0.5081 MB / 0.5255 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.4144, allocations: 110.1 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.345e-05/0.4145, allocations: 41.83 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.4145, allocations: 3.547 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.4146, allocations: 39.2 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4146, allocations: 5.312 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001097/0.4157, allocations: 443 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.4157, allocations: 54.86 kB / 0.5261 GB, free: 14.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.4164, allocations: 0.5562 MB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4164, allocations: 30.73 kB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.4166, allocations: 207.1 kB / 0.5269 GB, free: 14.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.4167, allocations: 57.77 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.4167, allocations: 35.08 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4169, allocations: 355.1 kB / 0.5273 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.417, allocations: 62.64 kB / 0.5274 GB, free: 13.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.4172, allocations: 66.8 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.4175, allocations: 170.1 kB / 0.5276 GB, free: 13.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4175, allocations: 0 / 0.5276 GB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004073/0.4179, allocations: 227.8 kB / 0.5278 GB, free: 13.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4179, allocations: 4.938 kB / 0.5278 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4179, allocations: 0 / 0.5278 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.418, allocations: 1.062 kB / 0.5278 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.4181, allocations: 35.48 kB / 0.5279 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4181, allocations: 1.125 kB / 0.5279 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.4182, allocations: 9.203 kB / 0.5279 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.4183, allocations: 12.03 kB / 0.5279 GB, free: 13.31 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 (17): * Single equations (assignments): 17 * 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.000192/0.4185, allocations: 177.9 kB / 0.5281 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.4185, allocations: 49.12 kB / 0.5281 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.4191, allocations: 282.5 kB / 0.5284 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4191, allocations: 1.312 kB / 0.5284 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4191, allocations: 1.281 kB / 0.5284 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4191, allocations: 3.938 kB / 0.5284 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/0.4201, allocations: 0.6751 MB / 0.529 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4201, allocations: 0.875 kB / 0.529 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.4203, allocations: 38 kB / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4203, allocations: 1.094 kB / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.4203, allocations: 2.312 kB / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.4203, allocations: 5.125 kB / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4203, allocations: 0 / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.4208, allocations: 335 kB / 0.5294 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.4209, allocations: 123.1 kB / 0.5295 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.421, allocations: 5.281 kB / 0.5295 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4211, allocations: 8.781 kB / 0.5295 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.4211, allocations: 13.36 kB / 0.5296 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.4211, allocations: 8.734 kB / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004917/0.4216, allocations: 417.2 kB / 0.53 GB, free: 11.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4216, allocations: 0 / 0.53 GB, free: 11.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.422, allocations: 56.11 kB / 0.53 GB, free: 11.79 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 (17): * Single equations (assignments): 17 * 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.002258/0.4242, allocations: 1.462 MB / 0.5314 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003886/0.4246, allocations: 161.7 kB / 0.5316 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4247, allocations: 0 / 0.5316 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.4248, allocations: 92.14 kB / 0.5317 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.4255, allocations: 76.73 kB / 0.5318 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.4298, allocations: 3.211 MB / 0.5349 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.4303, allocations: 0.8154 MB / 0.5357 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.4305, allocations: 60.48 kB / 0.5357 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.4306, allocations: 121.5 kB / 0.5359 GB, free: 7.637 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4306, allocations: 1.094 kB / 0.5359 GB, free: 7.637 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.4582, allocations: 7.513 MB / 0.5432 GB, free: 2.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.504, allocations: 9.016 kB / 0.5432 GB, free: 2.691 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches