Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, 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.0009849/0.0009849, 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.238/1.238, 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.1781/0.1781, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 77.03 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1257, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003/0.1288, allocations: 1.658 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009625/0.1298, allocations: 0.5922 MB / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.1298, allocations: 4 kB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.1303, allocations: 451.2 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.1308, allocations: 295.2 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.1312, allocations: 179.1 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.1315, allocations: 179.6 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1316, allocations: 24.22 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1317, allocations: 115.7 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1319, allocations: 215.6 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.132, allocations: 7.938 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1321, allocations: 47.97 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.443e-05/0.1322, allocations: 83.69 kB / 484 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.279e-05/0.1323, allocations: 110.9 kB / 484.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.1325, allocations: 275.2 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1326, allocations: 0 / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1326, allocations: 0 / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.413e-06/0.1326, allocations: 0 / 484.3 MB, free: 0.9883 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.0006137/0.1332, allocations: 0.6569 MB / 485 MB, free: 288 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1332, allocations: 12.03 kB / 485 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1333, allocations: 38.73 kB / 485 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.1333, allocations: 44.38 kB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1336, allocations: 300.1 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1336, allocations: 4.312 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1336, allocations: 8.375 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1338, allocations: 61.61 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1338, allocations: 0 / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1338, allocations: 4 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1338, allocations: 4 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.1339, allocations: 39.91 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.1344, allocations: 408.6 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.972e-05/0.1345, allocations: 46.69 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.1346, allocations: 28.84 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1346, allocations: 0 / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.1346, allocations: 30.56 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1346, allocations: 0 / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000902/0.1355, allocations: 327.7 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.1356, allocations: 59.33 kB / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/0.1363, allocations: 0.8776 MB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1363, allocations: 29.7 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1365, allocations: 220.1 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.1365, allocations: 27.64 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1366, allocations: 21.72 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1367, allocations: 366.8 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-05/0.1368, allocations: 35.91 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.1369, allocations: 31.98 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.137, allocations: 76.8 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.137, allocations: 3.938 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002361/0.1373, allocations: 145.1 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1373, allocations: 8 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1373, allocations: 432 / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1373, allocations: 0 / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1374, allocations: 27.86 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1375, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.1375, allocations: 4 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1375, allocations: 7.984 kB / 488.2 MB, free: 12.84 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.0001644/0.1377, allocations: 209.8 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.1378, allocations: 47.44 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.1381, allocations: 181.4 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1381, allocations: 7.875 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1381, allocations: 4 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1381, allocations: 3.984 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.1387, allocations: 0.5187 MB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1388, allocations: 3.938 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.1388, allocations: 19.98 kB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1388, allocations: 0 / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1389, allocations: 4 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1389, allocations: 3.984 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1389, allocations: 480 / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.1392, allocations: 255.8 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.1393, allocations: 120.5 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.1393, allocations: 0 / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.1394, allocations: 7.938 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1395, allocations: 7.984 kB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1395, allocations: 0 / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000593/0.1401, allocations: 0.6706 MB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1401, allocations: 0 / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1403, allocations: 24 kB / 490.3 MB, free: 10.66 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.00142/0.1418, allocations: 1.123 MB / 491.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.142, allocations: 79.89 kB / 491.5 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.142, allocations: 4 kB / 491.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.209e-05/0.1421, allocations: 43.91 kB / 491.6 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1425, allocations: 29.88 kB / 491.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.146, allocations: 3.43 MB / 495 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1463, allocations: 0.8299 MB / 495.8 MB, free: 5.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.784e-05/0.1464, allocations: 20.72 kB / 495.9 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.1465, allocations: 127.4 kB / 496 MB, free: 4.996 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1466, allocations: 0 / 496 MB, free: 4.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.844/2.99, allocations: 6.313 MB / 0.4905 GB, free: 14.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/11.87, allocations: 7.828 kB / 0.4905 GB, free: 14.73 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_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_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches