Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 209.8 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.4/1.4, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2588/0.2588, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001585, allocations: 73.2 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1237, allocations: 62.45 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.004175/0.1279, allocations: 1.716 MB / 481.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1293, allocations: 0.5807 MB / 481.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1295, allocations: 3.938 kB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.1302, allocations: 447.2 kB / 482.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.1308, allocations: 275.5 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.1313, allocations: 174.9 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.1316, allocations: 171.6 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1318, allocations: 15.98 kB / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.132, allocations: 103.8 kB / 482.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.1323, allocations: 219.4 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1323, allocations: 4 kB / 483.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1325, allocations: 39.97 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1326, allocations: 83.69 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1328, allocations: 99 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.1332, allocations: 263.1 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1332, allocations: 0 / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1332, allocations: 0 / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1332, allocations: 8 kB / 483.6 MB, free: 1.418 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.0009769/0.1342, allocations: 0.6492 MB / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.1342, allocations: 12.88 kB / 484.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.1343, allocations: 30.75 kB / 484.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.43e-05/0.1344, allocations: 44.38 kB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.1347, allocations: 304.1 kB / 484.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1348, allocations: 4.375 kB / 484.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1348, allocations: 4.375 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.135, allocations: 65.61 kB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.135, allocations: 3.906 kB / 484.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.135, allocations: 3.938 kB / 484.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.135, allocations: 0 / 484.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.1352, allocations: 43.95 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.1358, allocations: 412.8 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.136, allocations: 38.56 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.1361, allocations: 32.86 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1361, allocations: 7.938 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1362, allocations: 34.56 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1362, allocations: 4 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009907/0.1372, allocations: 303.8 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1372, allocations: 55.39 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.1381, allocations: 0.8815 MB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1381, allocations: 25.7 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1383, allocations: 216 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.1383, allocations: 23.7 kB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.1384, allocations: 17.72 kB / 486.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1385, allocations: 362.8 kB / 487.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1387, allocations: 43.95 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1388, allocations: 35.97 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.139, allocations: 93.02 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.139, allocations: 0 / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004123/0.1394, allocations: 157.3 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1395, allocations: 12 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1395, allocations: 0 / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1395, allocations: 3.938 kB / 487.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1396, allocations: 23.97 kB / 487.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1397, allocations: 0 / 487.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.1397, allocations: 15.92 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1398, allocations: 11.98 kB / 487.5 MB, free: 13.25 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 (7): * Single equations (assignments): 7 * 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.0001956/0.14, allocations: 209.8 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.14, allocations: 47.44 kB / 487.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.1404, allocations: 181.5 kB / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1405, allocations: 4 kB / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1405, allocations: 0 / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1405, allocations: 3.938 kB / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.1413, allocations: 0.5139 MB / 488.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1413, allocations: 0 / 488.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.1414, allocations: 27.97 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1414, allocations: 0 / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1414, allocations: 3.938 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1414, allocations: 0 / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1414, allocations: 7.938 kB / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.1418, allocations: 254.9 kB / 488.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.1419, allocations: 112.5 kB / 488.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.142, allocations: 7.922 kB / 488.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1421, allocations: 12 kB / 488.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.1421, allocations: 3.984 kB / 488.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1421, allocations: 4 kB / 488.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006236/0.1428, allocations: 0.6667 MB / 489.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1428, allocations: 0 / 489.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1431, allocations: 28 kB / 489.5 MB, free: 11.07 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 (7): * Single equations (assignments): 7 * 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.001562/0.1446, allocations: 1.081 MB / 490.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1449, allocations: 91.86 kB / 490.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.145, allocations: 0 / 490.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1451, allocations: 47.97 kB / 490.8 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1455, allocations: 26.3 kB / 490.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.1496, allocations: 3.479 MB / 494.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.15, allocations: 0.8341 MB / 495.1 MB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.429e-05/0.1501, allocations: 24.94 kB / 495.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.1503, allocations: 115.4 kB / 495.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1503, allocations: 0 / 495.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1686, allocations: 5.93 MB / 0.4894 GB, free: 15.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.1689, allocations: 226.5 kB / 0.4896 GB, free: 15.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.167, allocations: 7.375 kB / 0.4896 GB, free: 15.27 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches