Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2541/0.2541, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 79.81 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3893, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003661/0.393, allocations: 1.68 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3942, allocations: 0.5748 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.3943, allocations: 1.938 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.395, allocations: 455.5 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.3956, allocations: 297 kB / 0.5335 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.3961, allocations: 181.6 kB / 0.5336 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.3964, allocations: 174.6 kB / 0.5338 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3965, allocations: 19.22 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3967, allocations: 119.7 kB / 0.5339 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3969, allocations: 215.6 kB / 0.5341 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.397, allocations: 3.469 kB / 0.5341 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3971, allocations: 48.8 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3972, allocations: 82.94 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.3973, allocations: 113 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.3977, allocations: 292.2 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3977, allocations: 1.281 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3977, allocations: 0 / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3977, allocations: 4 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008486/0.3986, allocations: 0.6654 MB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3986, allocations: 13.19 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.3987, allocations: 36.88 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.3988, allocations: 43.84 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3991, allocations: 309.4 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3991, allocations: 9.656 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3991, allocations: 3.062 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3993, allocations: 66.42 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3993, allocations: 3.984 kB / 0.5358 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3994, allocations: 5.594 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3994, allocations: 0 / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.3995, allocations: 31.44 kB / 0.5358 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.4001, allocations: 414.1 kB / 0.5362 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4003, allocations: 48.16 kB / 0.5363 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.4003, allocations: 21.59 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4004, allocations: 5.031 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.4004, allocations: 30.56 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4004, allocations: 1.125 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001069/0.4015, allocations: 332.1 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.4015, allocations: 56.5 kB / 0.5367 GB, free: 8.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.4026, allocations: 0.8781 MB / 0.5375 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.4026, allocations: 27.33 kB / 0.5376 GB, free: 8.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.4029, allocations: 229.6 kB / 0.5378 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.4029, allocations: 27.23 kB / 0.5378 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.403, allocations: 24.94 kB / 0.5378 GB, free: 8.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4031, allocations: 364.5 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4032, allocations: 28.55 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.4033, allocations: 32.97 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.4035, allocations: 78.72 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4035, allocations: 0 / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003038/0.4039, allocations: 155.6 kB / 0.5385 GB, free: 7.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4039, allocations: 5.719 kB / 0.5385 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4039, allocations: 0 / 0.5385 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4039, allocations: 1.125 kB / 0.5385 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.404, allocations: 21.73 kB / 0.5385 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4041, allocations: 1.219 kB / 0.5385 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.4041, allocations: 3.344 kB / 0.5385 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.4042, allocations: 6.25 kB / 0.5385 GB, free: 7.594 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 (8): * Single equations (assignments): 8 * 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.0002435/0.4044, allocations: 227.6 kB / 0.5387 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.4045, allocations: 42.38 kB / 0.5388 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.4049, allocations: 179.5 kB / 0.5389 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.4049, allocations: 5.156 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4049, allocations: 0 / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4049, allocations: 1 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/0.4057, allocations: 0.5286 MB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4057, allocations: 0 / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.4058, allocations: 18.39 kB / 0.5395 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4058, allocations: 5.031 kB / 0.5395 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.4058, allocations: 5.5 kB / 0.5395 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4058, allocations: 1.656 kB / 0.5395 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4058, allocations: 0 / 0.5395 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.4062, allocations: 255.8 kB / 0.5397 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.4063, allocations: 116 kB / 0.5398 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.4063, allocations: 5.078 kB / 0.5398 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.4064, allocations: 3.25 kB / 0.5398 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.4065, allocations: 12.17 kB / 0.5399 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.4065, allocations: 1.938 kB / 0.5399 GB, free: 6.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006493/0.4071, allocations: 0.6645 MB / 0.5405 GB, free: 6.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.4071, allocations: 0 / 0.5405 GB, free: 6.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.4074, allocations: 30.75 kB / 0.5405 GB, free: 6.148 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 (8): * Single equations (assignments): 8 * 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.001626/0.409, allocations: 1.135 MB / 0.5416 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.4093, allocations: 80.34 kB / 0.5417 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4093, allocations: 8 kB / 0.5417 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4095, allocations: 44.58 kB / 0.5418 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.4099, allocations: 32.5 kB / 0.5418 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.4141, allocations: 3.386 MB / 0.5451 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.4146, allocations: 0.8338 MB / 0.5459 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.384e-05/0.4147, allocations: 24.41 kB / 0.5459 GB, free: 1.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.4149, allocations: 119.4 kB / 0.5461 GB, free: 1.547 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4149, allocations: 0 / 0.5461 GB, free: 1.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.4412, allocations: 6.454 MB / 0.5524 GB, free: 11.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.858, allocations: 0.8906 kB / 0.5524 GB, free: 11.16 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches