Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 101.1 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 213.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2628/0.2628, allocations: 46.09 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 79.95 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1441, allocations: 62.47 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003814/0.148, allocations: 1.706 MB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1491, allocations: 0.5456 MB / 481.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.1493, allocations: 0 / 481.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007151/0.15, allocations: 455.1 kB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.1506, allocations: 279.5 kB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.151, allocations: 119.4 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.1513, allocations: 163.6 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1515, allocations: 27.97 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1517, allocations: 99.8 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.1519, allocations: 207.5 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.152, allocations: 0 / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1521, allocations: 27.98 kB / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1522, allocations: 87.67 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1524, allocations: 103 kB / 483.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1527, allocations: 259.2 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1527, allocations: 4 kB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1527, allocations: 0 / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.1528, allocations: 0 / 483.4 MB, free: 1.566 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.001028/0.1538, allocations: 0.6337 MB / 484.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1539, allocations: 12.88 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.1539, allocations: 38.73 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.652e-05/0.154, allocations: 44.38 kB / 484.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1544, allocations: 304.1 kB / 484.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1544, allocations: 4.375 kB / 484.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1544, allocations: 8.375 kB / 484.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1546, allocations: 57.55 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1546, allocations: 4 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1546, allocations: 0 / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1546, allocations: 0 / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1547, allocations: 23.98 kB / 484.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.1554, allocations: 396.6 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1556, allocations: 46.5 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.1557, allocations: 12.86 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1557, allocations: 0 / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1558, allocations: 42.64 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1558, allocations: 0 / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007303/0.1565, allocations: 224 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1566, allocations: 51.41 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.1576, allocations: 0.8737 MB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1576, allocations: 25.7 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.1578, allocations: 228.1 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.1579, allocations: 27.72 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.1579, allocations: 17.72 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1581, allocations: 358.8 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.1582, allocations: 19.98 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.1583, allocations: 19.98 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1584, allocations: 56.77 kB / 486.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1584, allocations: 0 / 486.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002237/0.1587, allocations: 109.1 kB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1587, allocations: 8 kB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1587, allocations: 0 / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1587, allocations: 288 / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.063e-05/0.1588, allocations: 11.98 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1588, allocations: 4 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.1589, allocations: 7.844 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1589, allocations: 8 kB / 487.1 MB, free: 13.7 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.0002059/0.1591, allocations: 217.7 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.1592, allocations: 47.45 kB / 487.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.1595, allocations: 133.4 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1595, allocations: 64 / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1595, allocations: 4 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1595, allocations: 7.938 kB / 487.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.1601, allocations: 466.3 kB / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1601, allocations: 0 / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.1602, allocations: 8 kB / 487.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1602, allocations: 4 kB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1602, allocations: 11.92 kB / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1602, allocations: 0 / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1602, allocations: 0 / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.1606, allocations: 207.1 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.1607, allocations: 116.5 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1607, allocations: 7.875 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.1608, allocations: 4 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1608, allocations: 7.984 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1608, allocations: 4 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006605/0.1615, allocations: 0.6589 MB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1615, allocations: 0 / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1618, allocations: 19.98 kB / 489 MB, free: 11.69 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.001587/0.1634, allocations: 1.039 MB / 490 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1636, allocations: 55.89 kB / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1636, allocations: 0 / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.1637, allocations: 23.98 kB / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.1642, allocations: 22.25 kB / 490.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.1683, allocations: 3.336 MB / 493.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.1688, allocations: 0.8262 MB / 494.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1689, allocations: 7.984 kB / 494.3 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.169, allocations: 107.4 kB / 494.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.169, allocations: 4 kB / 494.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.1878, allocations: 5.751 MB / 0.4884 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.1881, allocations: 235.5 kB / 0.4886 GB, free: 328 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.175, allocations: 0 / 0.4886 GB, free: 328 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches