Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001785/0.001785, allocations: 100.7 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002429/0.002429, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 78.12 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 62.44 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.005797/0.138, allocations: 1.727 MB / 481.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.1412, allocations: 1.179 MB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1413, allocations: 0 / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1417, allocations: 19.92 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.1422, allocations: 79.75 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.143, allocations: 158.8 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.1432, allocations: 75.77 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1434, allocations: 23.98 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.1435, allocations: 35.8 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.1438, allocations: 43.83 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1438, allocations: 4 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.1441, allocations: 95.88 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.1442, allocations: 23.92 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.1443, allocations: 31.78 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.1447, allocations: 151.9 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1447, allocations: 0 / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1448, allocations: 0 / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1448, allocations: 0 / 483.2 MB, free: 1.848 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.0008209/0.1456, allocations: 423.1 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.1457, allocations: 8.031 kB / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.1457, allocations: 30.75 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.1458, allocations: 8.844 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1461, allocations: 210.4 kB / 483.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1461, allocations: 4.375 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.1462, allocations: 4.375 kB / 483.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1464, allocations: 79.33 kB / 484 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1464, allocations: 0 / 484 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1464, allocations: 0 / 484 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1464, allocations: 0 / 484 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1466, allocations: 43.89 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1471, allocations: 316.8 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1472, allocations: 42.56 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1473, allocations: 24.94 kB / 484.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1474, allocations: 11.98 kB / 484.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1474, allocations: 38.56 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.576e-06/0.1474, allocations: 7.875 kB / 484.4 MB, free: 456 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001186/0.1486, allocations: 225.1 kB / 484.7 MB, free: 224 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.1487, allocations: 85.05 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.149, allocations: 161.7 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.149, allocations: 25.7 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.1491, allocations: 100.1 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.1492, allocations: 15.72 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.1493, allocations: 21.7 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1494, allocations: 318.8 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1497, allocations: 43.95 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1499, allocations: 49.69 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.1503, allocations: 97.08 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1504, allocations: 4.031 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005183/0.1509, allocations: 125.5 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.1509, allocations: 4 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.151, allocations: 0 / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.151, allocations: 0 / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1512, allocations: 23.97 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1512, allocations: 0 / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1514, allocations: 23.78 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.1514, allocations: 7.984 kB / 485.8 MB, free: 15.07 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.0001617/0.1516, allocations: 117.8 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.1516, allocations: 7.906 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/0.1522, allocations: 138.3 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1523, allocations: 4 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1523, allocations: 0 / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1523, allocations: 4.219 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1533, allocations: 418.5 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1534, allocations: 0 / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1535, allocations: 19.92 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1536, allocations: 11.98 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.1536, allocations: 3.938 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1536, allocations: 0 / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.1536, allocations: 3.984 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.1542, allocations: 219.4 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.1543, allocations: 88.95 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.1544, allocations: 11.94 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.1546, allocations: 11.98 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.1546, allocations: 7.984 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1547, allocations: 0 / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001752/0.1548, allocations: 121.5 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1549, allocations: 4 kB / 486.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005131/0.1554, allocations: 39.94 kB / 487 MB, free: 13.75 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.002828/0.1582, allocations: 1.144 MB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.1588, allocations: 99.86 kB / 488.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1588, allocations: 4 kB / 488.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.1591, allocations: 43.97 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.1597, allocations: 15.98 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.1631, allocations: 1.663 MB / 489.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.1638, allocations: 0.7046 MB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.164, allocations: 32.39 kB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1641, allocations: 31.61 kB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1641, allocations: 0 / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.1873, allocations: 3.395 MB / 494.1 MB, free: 6.754 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/0.1877, allocations: 244.5 kB / 494.3 MB, free: 6.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.229, allocations: 3.938 kB / 494.3 MB, free: 6.488 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches