Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001412, 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.002633/0.002633, 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.572/1.572, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 78 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1307, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003731/0.1344, allocations: 2.092 MB / 481.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1365, allocations: 1.009 MB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.1368, allocations: 3.938 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.1374, allocations: 251.4 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005753/0.138, allocations: 231.3 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1391, allocations: 465.1 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.1396, allocations: 303.2 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.1398, allocations: 68.98 kB / 483.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.14, allocations: 123.5 kB / 483.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.1403, allocations: 207.2 kB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.1403, allocations: 8 kB / 484.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.1405, allocations: 59.98 kB / 484.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1406, allocations: 95.59 kB / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1408, allocations: 127 kB / 484.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.1412, allocations: 322.8 kB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1412, allocations: 0 / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1412, allocations: 0 / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1412, allocations: 0 / 484.7 MB, free: 316 kB / 350.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.0009041/0.1421, allocations: 0.6806 MB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1422, allocations: 8.875 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.1422, allocations: 42.73 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.1423, allocations: 44.38 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.1427, allocations: 342 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1427, allocations: 8.375 kB / 485.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.1428, allocations: 12.38 kB / 485.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.143, allocations: 105.6 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1431, allocations: 4 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1431, allocations: 4 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1431, allocations: 11.94 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.1433, allocations: 67.89 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.144, allocations: 0.5003 MB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1441, allocations: 90.55 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.1442, allocations: 36.78 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.1443, allocations: 7.984 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1443, allocations: 42.48 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1443, allocations: 0 / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009303/0.1452, allocations: 383.9 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1453, allocations: 55.41 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.1459, allocations: 0.5839 MB / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1459, allocations: 33.7 kB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1461, allocations: 220.2 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.1462, allocations: 63.09 kB / 488 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.1462, allocations: 29.72 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1464, allocations: 358.8 kB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1465, allocations: 47.97 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1466, allocations: 51.97 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.1469, allocations: 130.9 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1469, allocations: 0 / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003426/0.1472, allocations: 199.2 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1472, allocations: 4 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1472, allocations: 0 / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1473, allocations: 4 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1474, allocations: 31.98 kB / 488.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1474, allocations: 11.94 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.863e-05/0.1475, allocations: 7.984 kB / 488.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1476, allocations: 4 kB / 488.9 MB, free: 11.9 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.000181/0.1478, allocations: 177.8 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.1478, allocations: 43.38 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.1483, allocations: 249.6 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1483, allocations: 0 / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1483, allocations: 0 / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1483, allocations: 0 / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007951/0.1491, allocations: 0.6414 MB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1491, allocations: 4 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1493, allocations: 35.97 kB / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1493, allocations: 0 / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.1493, allocations: 8 kB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1493, allocations: 3.938 kB / 490 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1493, allocations: 0 / 490 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.1497, allocations: 298.8 kB / 490.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.1498, allocations: 124.6 kB / 490.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.1498, allocations: 4 kB / 490.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1499, allocations: 15.94 kB / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.15, allocations: 11.98 kB / 490.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.15, allocations: 4 kB / 490.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004366/0.1505, allocations: 443.1 kB / 490.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1505, allocations: 0 / 490.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003151/0.1508, allocations: 51.98 kB / 491 MB, free: 9.703 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.002163/0.153, allocations: 1.424 MB / 492.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.1533, allocations: 134.3 kB / 492.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1533, allocations: 4 kB / 492.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1534, allocations: 75.91 kB / 492.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.154, allocations: 81.77 kB / 492.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.1581, allocations: 3.283 MB / 496 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.1586, allocations: 0.8106 MB / 496.8 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.1587, allocations: 58.23 kB / 496.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.1589, allocations: 135.4 kB / 497 MB, free: 3.859 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1589, allocations: 0 / 497 MB, free: 3.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.179, allocations: 7.257 MB / 0.4924 GB, free: 12.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.1792, allocations: 236.6 kB / 0.4926 GB, free: 12.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/2.259, allocations: 0 / 0.4926 GB, free: 12.44 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches