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.001062/0.001062, 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.001124/0.001124, 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.379/1.379, 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.2347/0.2347, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 77.88 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1403, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003955/0.1443, allocations: 1.647 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1456, allocations: 0.5571 MB / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1458, allocations: 0 / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008859/0.1467, allocations: 455.1 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008274/0.1476, allocations: 287.3 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.1483, allocations: 135.1 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.1486, allocations: 167.7 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1488, allocations: 12 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.149, allocations: 115.7 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.1493, allocations: 207.6 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1493, allocations: 4 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1494, allocations: 39.98 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1496, allocations: 83.62 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1497, allocations: 103 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.1501, allocations: 259.2 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1501, allocations: 0 / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1501, allocations: 0 / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1501, allocations: 0 / 484.2 MB, free: 1.125 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.0009038/0.151, allocations: 0.6492 MB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1511, allocations: 8.031 kB / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.1511, allocations: 34.75 kB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.1512, allocations: 40.38 kB / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1515, allocations: 304.1 kB / 485.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.1516, allocations: 464 / 485.2 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1516, allocations: 8.375 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1518, allocations: 53.61 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1518, allocations: 0 / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1518, allocations: 11.94 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1518, allocations: 3.938 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.152, allocations: 27.92 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.1525, allocations: 392.6 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1528, allocations: 50.5 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.1529, allocations: 20.94 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1529, allocations: 3.984 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1529, allocations: 30.56 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.1529, allocations: 0 / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007329/0.1537, allocations: 228 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.1537, allocations: 59.41 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.1546, allocations: 0.8698 MB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1546, allocations: 29.7 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1548, allocations: 228.1 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.1549, allocations: 15.66 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.1549, allocations: 21.7 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1551, allocations: 362.8 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.1552, allocations: 19.98 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.985e-05/0.1552, allocations: 15.98 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1554, allocations: 48.83 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1554, allocations: 0 / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002201/0.1556, allocations: 113.1 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.1556, allocations: 6.5 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1557, allocations: 0 / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1557, allocations: 8 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.1558, allocations: 11.98 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1558, allocations: 0 / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.1558, allocations: 19.83 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1559, allocations: 0 / 487.8 MB, free: 13.24 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.0001817/0.156, allocations: 205.8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.1561, allocations: 39.53 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.1564, allocations: 149.3 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1564, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1565, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1565, allocations: 3.938 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.157, allocations: 462.4 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.157, allocations: 4 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.1571, allocations: 19.86 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1571, allocations: 4 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1571, allocations: 3.938 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1571, allocations: 4 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1571, allocations: 0 / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1574, allocations: 207.1 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.1575, allocations: 116.5 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1575, allocations: 3.938 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.1576, allocations: 15.98 kB / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.1577, allocations: 4 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1577, allocations: 0 / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006215/0.1583, allocations: 0.6589 MB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1583, allocations: 0 / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1586, allocations: 24 kB / 489.7 MB, free: 11.23 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.001397/0.16, allocations: 1.048 MB / 490.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1602, allocations: 47.91 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1602, allocations: 0 / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.1603, allocations: 23.98 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.1607, allocations: 37.23 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.1648, allocations: 3.268 MB / 494.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.1653, allocations: 0.8222 MB / 495 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.1653, allocations: 23.91 kB / 495 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.1655, allocations: 103.4 kB / 495.1 MB, free: 5.859 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1655, allocations: 0 / 495.1 MB, free: 5.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.192, allocations: 5.902 MB / 0.4892 GB, free: 4 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.2, allocations: 11.73 kB / 0.4892 GB, free: 15.99 MB / 382.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