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.002788/0.002788, allocations: 103.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002926/0.002926, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1873/0.1873, allocations: 46.1 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 74.55 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 62.43 MB / 480.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003577/0.1214, allocations: 1.682 MB / 481.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1225, allocations: 0.5844 MB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1227, allocations: 0 / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007133/0.1234, allocations: 455.1 kB / 482.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006212/0.1241, allocations: 295.3 kB / 483.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.1247, allocations: 178.9 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.125, allocations: 179.6 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1251, allocations: 20.22 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1253, allocations: 115.7 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.1255, allocations: 215.5 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1256, allocations: 4 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1257, allocations: 43.98 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1258, allocations: 91.67 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.127e-05/0.1259, allocations: 106.9 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1263, allocations: 275.2 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1263, allocations: 4 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1263, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1263, allocations: 0 / 484.3 MB, free: 0.9102 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009829/0.1273, allocations: 0.6569 MB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1273, allocations: 8.031 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.1274, allocations: 34.69 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.1275, allocations: 44.38 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.1278, allocations: 312.1 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1278, allocations: 4.375 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1278, allocations: 4.375 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.128, allocations: 65.61 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.128, allocations: 0 / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.128, allocations: 4 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1281, allocations: 7.875 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1282, allocations: 31.97 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.1287, allocations: 412.6 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.1288, allocations: 46.59 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1289, allocations: 20.94 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1289, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.1289, allocations: 34.56 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1289, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001022/0.13, allocations: 327.7 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.13, allocations: 59.34 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.1308, allocations: 0.8776 MB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1309, allocations: 29.7 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.131, allocations: 224.1 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1311, allocations: 27.64 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1311, allocations: 25.66 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1313, allocations: 362.8 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.1314, allocations: 27.98 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.1315, allocations: 31.97 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1316, allocations: 77.05 kB / 488 MB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1316, allocations: 0 / 488 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002528/0.1319, allocations: 153.1 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1319, allocations: 10.44 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1319, allocations: 0 / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.132, allocations: 4 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1321, allocations: 27.86 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1321, allocations: 0 / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.1321, allocations: 8 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1322, allocations: 8 kB / 488.2 MB, free: 12.76 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 (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.0001786/0.1323, allocations: 213.8 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.1324, allocations: 43.44 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.1327, allocations: 169.5 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.1328, allocations: 7.938 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1328, allocations: 7.938 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1328, allocations: 432 / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006251/0.1334, allocations: 0.5187 MB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1334, allocations: 4 kB / 489.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.1335, allocations: 15.98 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1335, allocations: 0 / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1335, allocations: 12.03 kB / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1336, allocations: 0 / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1336, allocations: 0 / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.1339, allocations: 259.6 kB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.1339, allocations: 112.5 kB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.134, allocations: 3.984 kB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.1341, allocations: 12 kB / 489.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1341, allocations: 4 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1341, allocations: 7.984 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005746/0.1347, allocations: 0.655 MB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1347, allocations: 0 / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.135, allocations: 35.98 kB / 490.3 MB, free: 10.58 MB / 366.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.001552/0.1366, allocations: 1.14 MB / 491.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1368, allocations: 71.95 kB / 491.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1368, allocations: 0 / 491.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.737e-05/0.1369, allocations: 39.92 kB / 491.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1374, allocations: 29.3 kB / 491.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.1411, allocations: 3.422 MB / 495 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.1416, allocations: 0.8338 MB / 495.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.245e-05/0.1417, allocations: 32.72 kB / 495.9 MB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.1419, allocations: 119.4 kB / 496 MB, free: 4.914 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1419, allocations: 0 / 496 MB, free: 4.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.1666, allocations: 6.318 MB / 0.4905 GB, free: 14.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.563, allocations: 1.078 kB / 0.4905 GB, free: 14.65 MB / 382.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