Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, 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.001277/0.001277, 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.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 78.72 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1385, allocations: 62.43 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003348/0.1419, allocations: 1.649 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.1428, allocations: 0.688 MB / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.1429, allocations: 0 / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.1431, allocations: 31.78 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.1434, allocations: 47.83 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.1434, allocations: 0 / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1436, allocations: 31.91 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.1436, allocations: 3.984 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.485e-05/0.1437, allocations: 11.94 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.1437, allocations: 15.92 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1438, allocations: 0 / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-05/0.1438, allocations: 11.98 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.1439, allocations: 15.94 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.1439, allocations: 19.88 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1441, allocations: 75.95 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1441, allocations: 0 / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1441, allocations: 0 / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1441, allocations: 0 / 482.7 MB, free: 2.582 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004104/0.1445, allocations: 363.3 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1445, allocations: 16.02 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.1446, allocations: 38.75 kB / 483.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.1446, allocations: 12.73 kB / 483.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1448, allocations: 172.3 kB / 483.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.1448, allocations: 4.375 kB / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1448, allocations: 4.375 kB / 483.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.145, allocations: 125.7 kB / 483.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.145, allocations: 3.938 kB / 483.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.145, allocations: 0 / 483.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.1451, allocations: 27.98 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.1451, allocations: 47.84 kB / 483.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.1458, allocations: 0.8867 MB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.1458, allocations: 165.1 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.1459, allocations: 84.08 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1459, allocations: 79.28 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.146, allocations: 113.8 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.146, allocations: 0 / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.899e-05/0.146, allocations: 41.64 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.1461, allocations: 126.7 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.1463, allocations: 194 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1463, allocations: 25.7 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.1464, allocations: 155.1 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.1464, allocations: 0 / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.1465, allocations: 45.61 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1466, allocations: 326.8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.1467, allocations: 27.98 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1468, allocations: 157 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.147, allocations: 204.9 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.147, allocations: 0 / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000292/0.1473, allocations: 205.6 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1473, allocations: 8 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1474, allocations: 8.031 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1474, allocations: 8 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1475, allocations: 35.92 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1475, allocations: 4 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.103e-05/0.1476, allocations: 31.69 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1476, allocations: 8 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001135/0.1478, allocations: 213 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.1478, allocations: 116.8 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.1479, allocations: 124.8 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.993e-05/0.148, allocations: 176.3 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.832e-05/0.148, allocations: 184.2 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.197e-05/0.1481, allocations: 176.3 kB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1483, allocations: 429.1 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/0.1483, allocations: 105 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.1484, allocations: 109 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.559e-05/0.1484, allocations: 184.2 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.1485, allocations: 176.3 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.847e-05/0.1486, allocations: 184.2 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.384e-05/0.1486, allocations: 180.3 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.1487, allocations: 319.6 kB / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.1488, allocations: 186 kB / 489.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.1489, allocations: 180.2 kB / 489.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.149, allocations: 105 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.1491, allocations: 192.2 kB / 489.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.1491, allocations: 101 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.06e-05/0.1492, allocations: 123.2 kB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1492, allocations: 3.938 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1495, allocations: 16 kB / 489.9 MB, free: 10.76 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 (0): * Single equations (assignments): 0 * 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.0006901/0.1502, allocations: 0.9192 MB / 490.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1503, allocations: 72.97 kB / 490.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1503, allocations: 0 / 490.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.1503, allocations: 0 / 490.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1507, allocations: 466.4 kB / 491.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.1522, allocations: 1.878 MB / 493.2 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1525, allocations: 0.7006 MB / 493.9 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.1527, allocations: 53 kB / 494 MB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.1527, allocations: 23.44 kB / 494 MB, free: 6.457 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1527, allocations: 0 / 494 MB, free: 6.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05102/0.2038, allocations: 2.04 MB / 496.1 MB, free: 4.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.979/9.182, allocations: 20.12 kB / 496.1 MB, free: 4.465 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches