Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001595/0.001595, 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.00211/0.00211, 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.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 73.59 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1012, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003002/0.1042, allocations: 1.648 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.1053, allocations: 0.5884 MB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.1053, allocations: 0 / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004981/0.1058, allocations: 459.1 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.1063, allocations: 295.3 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.1068, allocations: 175.3 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.107, allocations: 175.7 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1072, allocations: 23.97 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1073, allocations: 115.7 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.1076, allocations: 215.5 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1076, allocations: 4 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1077, allocations: 39.98 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1079, allocations: 83.69 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.1079, allocations: 103 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1083, allocations: 275.1 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1083, allocations: 0 / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1083, allocations: 0 / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1083, allocations: 0 / 484.3 MB, free: 1.027 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008086/0.1091, allocations: 0.6492 MB / 484.9 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1092, allocations: 12.03 kB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.1092, allocations: 38.75 kB / 485 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.1093, allocations: 44.38 kB / 485 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1096, allocations: 304.1 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1096, allocations: 4.312 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1096, allocations: 4.375 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1098, allocations: 65.55 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1098, allocations: 3.906 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.1098, allocations: 0 / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1099, allocations: 0 / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.11, allocations: 47.95 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.1106, allocations: 404.7 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1107, allocations: 46.5 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.1108, allocations: 32.88 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1108, allocations: 4 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1109, allocations: 34.55 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1109, allocations: 0 / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008399/0.1117, allocations: 315.9 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1118, allocations: 51.41 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007849/0.1125, allocations: 0.8698 MB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1126, allocations: 33.7 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1127, allocations: 220 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1128, allocations: 15.72 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.1128, allocations: 25.7 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.113, allocations: 358.8 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1131, allocations: 43.95 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1132, allocations: 35.97 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1135, allocations: 88.8 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1135, allocations: 7.938 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003151/0.1138, allocations: 157 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1138, allocations: 4 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1138, allocations: 4 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1139, allocations: 0 / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.114, allocations: 15.98 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.114, allocations: 4 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.007e-05/0.1141, allocations: 15.92 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1141, allocations: 4 kB / 488.2 MB, free: 12.88 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 (7): * Single equations (assignments): 7 * 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.0001751/0.1143, allocations: 213.8 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.1143, allocations: 43.44 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.1147, allocations: 185.8 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1147, allocations: 8 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1148, allocations: 0 / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.1148, allocations: 7.938 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/0.1154, allocations: 0.5139 MB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1154, allocations: 0 / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.1155, allocations: 19.98 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1155, allocations: 7.938 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1155, allocations: 3.938 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1155, allocations: 7.922 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1155, allocations: 0 / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1159, allocations: 251.2 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.116, allocations: 120.5 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.116, allocations: 7.922 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1161, allocations: 15.92 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.1162, allocations: 3.984 kB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1162, allocations: 4 kB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005571/0.1167, allocations: 0.655 MB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1167, allocations: 0 / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.117, allocations: 27.98 kB / 490.3 MB, free: 10.69 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 (7): * Single equations (assignments): 7 * 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.00136/0.1184, allocations: 1.091 MB / 491.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.1187, allocations: 99.86 kB / 491.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1187, allocations: 0 / 491.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1188, allocations: 43.97 kB / 491.5 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1192, allocations: 29.67 kB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.1228, allocations: 3.415 MB / 495 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.1232, allocations: 0.8299 MB / 495.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.591e-05/0.1233, allocations: 24.95 kB / 495.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.1235, allocations: 123.4 kB / 495.9 MB, free: 5.043 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1235, allocations: 0 / 495.9 MB, free: 5.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0622/0.1857, allocations: 6.103 MB / 0.4903 GB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.188, allocations: 9.062 kB / 0.4903 GB, free: 14.98 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_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_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches