Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001766, allocations: 213.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.493/1.493, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 80.42 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1412, allocations: 62.45 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003909/0.1452, allocations: 1.703 MB / 481.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009792/0.1463, allocations: 0.676 MB / 481.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.1463, allocations: 0 / 481.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.1466, allocations: 23.92 kB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1469, allocations: 39.89 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.921e-06/0.1469, allocations: 0 / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1471, allocations: 43.89 kB / 481.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.1471, allocations: 11.98 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.1472, allocations: 11.92 kB / 481.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1473, allocations: 19.92 kB / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1473, allocations: 0 / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.598e-05/0.1474, allocations: 15.98 kB / 481.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.1475, allocations: 19.86 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.1475, allocations: 23.81 kB / 482 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1477, allocations: 68.02 kB / 482 MB, free: 2.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.1477, allocations: 4 kB / 482 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1477, allocations: 0 / 482 MB, free: 2.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1477, allocations: 0 / 482 MB, free: 2.926 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005007/0.1482, allocations: 355.4 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1483, allocations: 16.88 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.1483, allocations: 38.73 kB / 482.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.1483, allocations: 12.75 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1485, allocations: 168.3 kB / 482.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1485, allocations: 8.297 kB / 482.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.1486, allocations: 4.375 kB / 482.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.1488, allocations: 123.4 kB / 482.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1488, allocations: 3.938 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1488, allocations: 0 / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.1489, allocations: 27.92 kB / 482.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.149, allocations: 43.91 kB / 482.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.1497, allocations: 0.8906 MB / 483.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.845e-05/0.1498, allocations: 169.1 kB / 483.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.1498, allocations: 88.02 kB / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.1498, allocations: 79.28 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/0.1499, allocations: 113.8 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.1499, allocations: 0 / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.799e-05/0.15, allocations: 33.61 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.1501, allocations: 130.7 kB / 484.3 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1502, allocations: 186 kB / 484.5 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1503, allocations: 29.7 kB / 484.5 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.1504, allocations: 151.1 kB / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.1504, allocations: 0 / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.1505, allocations: 45.66 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1506, allocations: 318.8 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.1506, allocations: 31.98 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1508, allocations: 161 kB / 485.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.151, allocations: 200.9 kB / 485.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.151, allocations: 0 / 485.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000318/0.1513, allocations: 205.3 kB / 485.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1514, allocations: 11.98 kB / 485.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1514, allocations: 4 kB / 485.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1514, allocations: 4 kB / 485.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1515, allocations: 39.92 kB / 485.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1516, allocations: 4 kB / 485.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.1517, allocations: 31.62 kB / 485.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1517, allocations: 12.34 kB / 485.7 MB, free: 14.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001586/0.1518, allocations: 217 kB / 485.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.1519, allocations: 116.8 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.152, allocations: 116.9 kB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-05/0.1521, allocations: 184.2 kB / 486.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.989e-05/0.1522, allocations: 176.3 kB / 486.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.875e-05/0.1523, allocations: 192.2 kB / 486.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.1526, allocations: 425.1 kB / 487.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.68e-05/0.1526, allocations: 101 kB / 487.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.1527, allocations: 104.9 kB / 487.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.45e-05/0.1528, allocations: 180.3 kB / 487.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.1528, allocations: 184.2 kB / 487.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.841e-05/0.1529, allocations: 180.3 kB / 487.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.328e-05/0.153, allocations: 180.2 kB / 488 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1532, allocations: 319.6 kB / 488.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.1533, allocations: 189.9 kB / 488.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.1534, allocations: 184.3 kB / 488.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.1535, allocations: 101 kB / 488.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.1536, allocations: 188.2 kB / 489 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.1536, allocations: 105 kB / 489.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1537, allocations: 123.2 kB / 489.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1537, allocations: 3.938 kB / 489.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.154, allocations: 16 kB / 489.2 MB, free: 11.11 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 (0): * Single equations (assignments): 0 * 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.0008736/0.1549, allocations: 0.9182 MB / 490.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1551, allocations: 84.67 kB / 490.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1551, allocations: 0 / 490.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.1551, allocations: 0 / 490.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1555, allocations: 0.5224 MB / 490.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1573, allocations: 1.892 MB / 492.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.1576, allocations: 0.6931 MB / 493.3 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.1578, allocations: 49.03 kB / 493.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.1578, allocations: 27.42 kB / 493.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1578, allocations: 0 / 493.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.172, allocations: 1.927 MB / 495.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.1723, allocations: 228.7 kB / 495.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.983, allocations: 0 / 495.6 MB, free: 4.629 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches