Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.001171, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2577/0.2577, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 78.38 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1444, allocations: 62.45 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00456/0.1491, allocations: 1.704 MB / 481.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1504, allocations: 0.5534 MB / 481.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-05/0.1506, allocations: 3.938 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006931/0.1513, allocations: 447.2 kB / 482.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.1518, allocations: 283.5 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.1523, allocations: 119.6 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1526, allocations: 163.6 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1527, allocations: 19.98 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.1529, allocations: 107.8 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.1532, allocations: 203.5 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1532, allocations: 4 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1533, allocations: 27.98 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1534, allocations: 87.62 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1536, allocations: 107 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.1539, allocations: 255.2 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1539, allocations: 3.984 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1539, allocations: 0 / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.154, allocations: 4 kB / 483.4 MB, free: 1.551 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001009/0.155, allocations: 0.6298 MB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/0.155, allocations: 8.875 kB / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.1551, allocations: 42.73 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1552, allocations: 40.38 kB / 484.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.1556, allocations: 304 kB / 484.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1557, allocations: 8.375 kB / 484.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1557, allocations: 4.375 kB / 484.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1559, allocations: 61.59 kB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1559, allocations: 0 / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1559, allocations: 0 / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.156, allocations: 4 kB / 484.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1561, allocations: 19.98 kB / 484.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.1568, allocations: 404.7 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.1571, allocations: 38.56 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.1572, allocations: 16.86 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.1572, allocations: 4.078 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.1573, allocations: 34.56 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.1573, allocations: 4 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000827/0.1581, allocations: 224 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1582, allocations: 51.41 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.1593, allocations: 0.8737 MB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1593, allocations: 29.7 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.1596, allocations: 224.1 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.1596, allocations: 27.66 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.1597, allocations: 17.66 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.16, allocations: 362.8 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.1601, allocations: 23.92 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.1602, allocations: 19.98 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1603, allocations: 40.83 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1603, allocations: 8 kB / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002903/0.1606, allocations: 109.2 kB / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.1607, allocations: 4 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.1607, allocations: 4 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1607, allocations: 0 / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.1608, allocations: 15.92 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1609, allocations: 0 / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.1609, allocations: 11.84 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.161, allocations: 7.984 kB / 487.1 MB, free: 13.68 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 (5): * Single equations (assignments): 5 * 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.0002722/0.1612, allocations: 213.8 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1613, allocations: 39.47 kB / 487.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.1618, allocations: 141.4 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1618, allocations: 64 / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.1618, allocations: 4 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1618, allocations: 3.938 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.1626, allocations: 474.2 kB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1626, allocations: 0 / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.1627, allocations: 8 kB / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1627, allocations: 3.984 kB / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.1627, allocations: 7.938 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1627, allocations: 0 / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1627, allocations: 0 / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.163, allocations: 211 kB / 488.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.1632, allocations: 116.5 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.1632, allocations: 7.938 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.1633, allocations: 0 / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.1634, allocations: 7.984 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1634, allocations: 0 / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008368/0.1642, allocations: 0.6589 MB / 488.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1643, allocations: 4 kB / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.1646, allocations: 24 kB / 489 MB, free: 11.68 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 (5): * Single equations (assignments): 5 * 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.001941/0.1665, allocations: 1.041 MB / 490 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.1668, allocations: 51.95 kB / 490.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1668, allocations: 0 / 490.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.1669, allocations: 23.98 kB / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.1675, allocations: 26.3 kB / 490.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/0.1727, allocations: 3.328 MB / 493.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009336/0.1737, allocations: 0.8223 MB / 494.3 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.76e-05/0.1738, allocations: 11.98 kB / 494.3 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.174, allocations: 99.41 kB / 494.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of SimCode: time 2.204e-06/0.174, allocations: 0 / 494.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.1935, allocations: 5.759 MB / 0.4884 GB, free: 0.582 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.1938, allocations: 230.5 kB / 0.4886 GB, free: 336 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.184, allocations: 3.938 kB / 0.4886 GB, free: 332 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches