Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001449, 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.00179/0.001791, 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.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 74.19 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1237, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003731/0.1275, allocations: 1.934 MB / 482.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1293, allocations: 0.9857 MB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1295, allocations: 0 / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.13, allocations: 251.2 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.1305, allocations: 263.1 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1316, allocations: 488.7 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.132, allocations: 295.2 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.1321, allocations: 44.72 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1323, allocations: 131.4 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1326, allocations: 187.4 kB / 484.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.1326, allocations: 12 kB / 484.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1328, allocations: 59.91 kB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1329, allocations: 83.69 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1331, allocations: 115 kB / 484.9 MB, free: 388 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.1335, allocations: 295.1 kB / 485.2 MB, free: 92 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1335, allocations: 0 / 485.2 MB, free: 92 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1335, allocations: 0 / 485.2 MB, free: 92 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.1335, allocations: 0 / 485.2 MB, free: 92 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000916/0.1344, allocations: 0.6532 MB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1345, allocations: 16.03 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.1345, allocations: 34.75 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.1346, allocations: 40.47 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.135, allocations: 330 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.135, allocations: 384 / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.135, allocations: 8.375 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1352, allocations: 85.53 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1352, allocations: 0 / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1353, allocations: 4 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1353, allocations: 0 / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1354, allocations: 51.97 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.136, allocations: 452.4 kB / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1361, allocations: 54.56 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.1362, allocations: 32.97 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.1362, allocations: 7.984 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1363, allocations: 30.56 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1363, allocations: 0 / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003491/0.1366, allocations: 149 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1367, allocations: 55.34 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.1373, allocations: 0.5839 MB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1373, allocations: 33.7 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1375, allocations: 204.1 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1375, allocations: 19.72 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.1375, allocations: 21.7 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1377, allocations: 350.8 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.1378, allocations: 19.98 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.1378, allocations: 15.98 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1379, allocations: 52.84 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.138, allocations: 3.938 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002069/0.1382, allocations: 117.1 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1382, allocations: 6.5 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1382, allocations: 0 / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1382, allocations: 3.938 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.1383, allocations: 12 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1383, allocations: 3.984 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.1384, allocations: 7.938 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1384, allocations: 4 kB / 488.6 MB, free: 12.44 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 (6): * Single equations (assignments): 6 * 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.0001415/0.1386, allocations: 165.8 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.1386, allocations: 43.44 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.1389, allocations: 137.1 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1389, allocations: 3.938 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.139, allocations: 0 / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.139, allocations: 0 / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.1393, allocations: 290 kB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1393, allocations: 4 kB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.1393, allocations: 15.98 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1393, allocations: 7.984 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1394, allocations: 0 / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1394, allocations: 3.938 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1394, allocations: 0 / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1396, allocations: 215 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.1397, allocations: 116.6 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.1397, allocations: 4 kB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.1398, allocations: 7.938 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.1399, allocations: 7.984 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.1399, allocations: 0 / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004174/0.1403, allocations: 443.1 kB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1403, allocations: 0 / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1406, allocations: 35.84 kB / 490.1 MB, free: 10.87 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 (6): * Single equations (assignments): 6 * 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.001718/0.1423, allocations: 1.24 MB / 491.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1425, allocations: 43.98 kB / 491.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1425, allocations: 3.938 kB / 491.4 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.1426, allocations: 27.92 kB / 491.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.1431, allocations: 90.44 kB / 491.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.1462, allocations: 2.861 MB / 494.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1467, allocations: 0.8022 MB / 495.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.1468, allocations: 45.47 kB / 495.2 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.1469, allocations: 107.4 kB / 495.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1469, allocations: 0 / 495.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1735, allocations: 6.636 MB / 0.4902 GB, free: 15.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.905/10.08, allocations: 12.81 kB / 0.4902 GB, free: 15.17 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches