Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 73.61 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09628, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002919/0.09924, allocations: 1.61 MB / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008987/0.1002, allocations: 0.5299 MB / 482.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.1003, allocations: 8 kB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004681/0.1007, allocations: 451.1 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.1012, allocations: 291.3 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.1015, allocations: 127.2 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1017, allocations: 163.7 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.127e-05/0.1018, allocations: 12.17 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.102, allocations: 111.7 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1022, allocations: 215.6 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1022, allocations: 0 / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.1023, allocations: 24 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.1024, allocations: 87.67 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.1024, allocations: 103 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1027, allocations: 239 kB / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1027, allocations: 0 / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1027, allocations: 4 kB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1027, allocations: 0 / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006513/0.1034, allocations: 0.6377 MB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1034, allocations: 12.02 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.1035, allocations: 34.69 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.1035, allocations: 44.38 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1038, allocations: 300.2 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.1038, allocations: 384 / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1038, allocations: 4.125 kB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.104, allocations: 45.69 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.104, allocations: 0 / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.104, allocations: 4 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.104, allocations: 0 / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.782e-05/0.1041, allocations: 19.98 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1045, allocations: 384.7 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.77e-05/0.1046, allocations: 34.5 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.1046, allocations: 24.91 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1046, allocations: 3.984 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.1047, allocations: 30.56 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1047, allocations: 0 / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002354/0.1049, allocations: 101 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.1049, allocations: 51.41 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.1057, allocations: 0.8739 MB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.1057, allocations: 29.7 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.1059, allocations: 228 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.1059, allocations: 3.906 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1059, allocations: 17.7 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.106, allocations: 362.7 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.1061, allocations: 7.984 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.1061, allocations: 12 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.118e-05/0.1062, allocations: 24.84 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1062, allocations: 0 / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001525/0.1064, allocations: 93.12 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1064, allocations: 4 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1064, allocations: 0 / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1064, allocations: 4 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.1065, allocations: 7.984 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.1065, allocations: 0 / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.1066, allocations: 12.03 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1066, allocations: 3.938 kB / 487.4 MB, free: 13.64 MB / 366.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 (2): * Single equations (assignments): 2 * 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.0001557/0.1067, allocations: 209.8 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.1068, allocations: 43.44 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.107, allocations: 104.7 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.107, allocations: 0 / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.107, allocations: 4 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.107, allocations: 4.031 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.1072, allocations: 281.5 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1073, allocations: 0 / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.1073, allocations: 7.984 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1073, allocations: 4 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1073, allocations: 0 / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1073, allocations: 3.938 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1073, allocations: 3.984 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1075, allocations: 202.8 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.1076, allocations: 108.6 kB / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1076, allocations: 0 / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.1077, allocations: 3.938 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.1077, allocations: 7.984 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1077, allocations: 0 / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005466/0.1083, allocations: 0.6589 MB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1083, allocations: 0 / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000377/0.1087, allocations: 24.02 kB / 489.1 MB, free: 11.89 MB / 366.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 (2): * Single equations (assignments): 2 * 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.001045/0.1097, allocations: 0.9548 MB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1098, allocations: 23.92 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1099, allocations: 0 / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.1099, allocations: 15.98 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1103, allocations: 34.47 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.1133, allocations: 3.182 MB / 493.3 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1136, allocations: 0.822 MB / 494.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.1137, allocations: 7.984 kB / 494.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1138, allocations: 107.4 kB / 494.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1138, allocations: 0 / 494.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.1354, allocations: 5.594 MB / 499.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.127, allocations: 9.141 kB / 499.8 MB, free: 1.16 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_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_CombiTable2Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches