Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000748/0.0007481, allocations: 96.81 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008266/0.0008266, allocations: 201 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.19 MB / 345.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.000393, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 63.55 MB / 483.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002254/0.1332, allocations: 1.734 MB / 484.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1349, allocations: 0.9937 MB / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.135, allocations: 0 / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.1355, allocations: 255.4 kB / 486.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.1359, allocations: 231.3 kB / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.137, allocations: 461.6 kB / 486.8 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.1374, allocations: 311.1 kB / 487.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1376, allocations: 60.98 kB / 487.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1378, allocations: 115.5 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.138, allocations: 195.2 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.138, allocations: 4 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.1382, allocations: 87.97 kB / 487.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1384, allocations: 91.61 kB / 487.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1385, allocations: 144.7 kB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.1389, allocations: 330.6 kB / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1389, allocations: 0 / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1389, allocations: 4 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1389, allocations: 0 / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007214/0.1396, allocations: 0.6185 MB / 488.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1397, allocations: 12.88 kB / 488.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.1397, allocations: 46.73 kB / 488.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.1398, allocations: 44.47 kB / 488.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1401, allocations: 338 kB / 489.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1402, allocations: 12.31 kB / 489.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.1402, allocations: 8.375 kB / 489.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.1404, allocations: 109.6 kB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1405, allocations: 0 / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1405, allocations: 4 kB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1405, allocations: 4 kB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1407, allocations: 75.89 kB / 489.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.1413, allocations: 0.504 MB / 489.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1415, allocations: 98.52 kB / 490 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.1416, allocations: 36.84 kB / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1416, allocations: 8 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1417, allocations: 34.5 kB / 490.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.464e-06/0.1417, allocations: 3.984 kB / 490.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008929/0.1426, allocations: 412.4 kB / 490.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1426, allocations: 59.39 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.1432, allocations: 0.5877 MB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1432, allocations: 25.7 kB / 491.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1434, allocations: 220.3 kB / 491.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.1435, allocations: 59.11 kB / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1435, allocations: 21.7 kB / 491.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1436, allocations: 350.8 kB / 491.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.1438, allocations: 51.97 kB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1439, allocations: 58.47 kB / 491.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.1441, allocations: 128.8 kB / 492 MB, free: 11.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1441, allocations: 4 kB / 492 MB, free: 11.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003693/0.1445, allocations: 215 kB / 492.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1445, allocations: 8 kB / 492.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1445, allocations: 0 / 492.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1446, allocations: 4 kB / 492.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.1447, allocations: 31.98 kB / 492.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1447, allocations: 4 kB / 492.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.1448, allocations: 15.98 kB / 492.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1448, allocations: 4 kB / 492.3 MB, free: 10.73 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 (17): * Single equations (assignments): 17 * 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.0001652/0.145, allocations: 181.7 kB / 492.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.1451, allocations: 43.44 kB / 492.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.1456, allocations: 245.7 kB / 492.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1456, allocations: 0 / 492.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1456, allocations: 4 kB / 492.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1456, allocations: 0 / 492.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/0.1464, allocations: 0.6609 MB / 493.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1464, allocations: 0 / 493.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1465, allocations: 43.91 kB / 493.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1465, allocations: 0 / 493.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.1465, allocations: 0 / 493.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1465, allocations: 7.938 kB / 493.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1466, allocations: 0 / 493.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.147, allocations: 310.8 kB / 493.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.1471, allocations: 128.5 kB / 493.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.1471, allocations: 4 kB / 493.9 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1472, allocations: 23.92 kB / 493.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.1473, allocations: 11.92 kB / 494 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.1473, allocations: 4 kB / 494 MB, free: 8.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004297/0.1477, allocations: 447.1 kB / 494.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1477, allocations: 0 / 494.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.148, allocations: 44 kB / 494.4 MB, free: 8.488 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 (17): * Single equations (assignments): 17 * 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.002084/0.1501, allocations: 1.428 MB / 495.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.1504, allocations: 139.9 kB / 496 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1504, allocations: 0 / 496 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1506, allocations: 86.23 kB / 496.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.1511, allocations: 72.47 kB / 496.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.1548, allocations: 3.317 MB / 499.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1551, allocations: 0.8145 MB / 0.4886 GB, free: 2.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.1553, allocations: 62.16 kB / 0.4886 GB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.1554, allocations: 131.4 kB / 0.4887 GB, free: 2.602 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1554, allocations: 0 / 0.4887 GB, free: 2.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.1728, allocations: 7.006 MB / 0.4956 GB, free: 11.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.1731, allocations: 240 kB / 0.4958 GB, free: 11.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.11, allocations: 3.375 kB / 0.4958 GB, free: 11.44 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches