Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001299/0.001299, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001324, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, 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.2187/0.2187, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 75.78 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1297, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00319/0.133, allocations: 1.666 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009189/0.1339, allocations: 0.5649 MB / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.683e-05/0.134, allocations: 0 / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.1346, allocations: 447.2 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.1351, allocations: 295.3 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.1355, allocations: 135.2 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.1358, allocations: 167.7 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1359, allocations: 23.97 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1361, allocations: 119.7 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.1363, allocations: 207.6 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1363, allocations: 4 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1365, allocations: 47.98 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1366, allocations: 83.69 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.1367, allocations: 115 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.137, allocations: 279.1 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.137, allocations: 0 / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.137, allocations: 0 / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.137, allocations: 0 / 484.2 MB, free: 1.055 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.0007147/0.1377, allocations: 0.6531 MB / 484.9 MB, free: 360 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1378, allocations: 12.03 kB / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.1378, allocations: 34.75 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.1379, allocations: 44.38 kB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1382, allocations: 304.3 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-06/0.1382, allocations: 384 / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1382, allocations: 8.375 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1384, allocations: 65.48 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1384, allocations: 4 kB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1384, allocations: 0 / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1384, allocations: 0 / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1385, allocations: 31.97 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.139, allocations: 408.5 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.1391, allocations: 38.56 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.1391, allocations: 20.94 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1392, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1392, allocations: 38.59 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1392, allocations: 4 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009007/0.1401, allocations: 307.7 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1401, allocations: 59.34 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.141, allocations: 0.8777 MB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.141, allocations: 25.7 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1412, allocations: 220.1 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1412, allocations: 31.55 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.1413, allocations: 21.72 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1414, allocations: 362.8 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.1415, allocations: 27.98 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.1416, allocations: 23.98 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1417, allocations: 61.06 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1417, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002384/0.142, allocations: 141 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.142, allocations: 7.984 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.142, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.142, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.1421, allocations: 19.94 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1422, allocations: 11.98 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1422, allocations: 4 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1422, allocations: 0 / 488.1 MB, free: 12.99 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.000164/0.1424, allocations: 213.8 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.1425, allocations: 43.86 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.1428, allocations: 169.5 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1428, allocations: 3.938 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1428, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1428, allocations: 7.984 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.1434, allocations: 0.4992 MB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1434, allocations: 3.938 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.1435, allocations: 24.02 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1435, allocations: 7.938 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1435, allocations: 0 / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1435, allocations: 0 / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1435, allocations: 7.938 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1437, allocations: 231.8 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.1438, allocations: 124.5 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.1439, allocations: 0 / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.144, allocations: 4 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.144, allocations: 7.984 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.144, allocations: 8 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005557/0.1446, allocations: 0.6589 MB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1448, allocations: 24 kB / 490.1 MB, free: 10.86 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.00134/0.1462, allocations: 1.125 MB / 491.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1464, allocations: 75.88 kB / 491.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1464, allocations: 3.938 kB / 491.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.1465, allocations: 31.98 kB / 491.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1469, allocations: 29.3 kB / 491.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.1503, allocations: 3.355 MB / 494.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1506, allocations: 0.8299 MB / 495.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.1507, allocations: 20.72 kB / 495.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.1508, allocations: 107.4 kB / 495.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1508, allocations: 4 kB / 495.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.1737, allocations: 6.22 MB / 0.4901 GB, free: 15.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/7.879, allocations: 4.359 kB / 0.4901 GB, free: 15.12 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches