Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 109.2 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.001216/0.001216, 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.463/1.463, 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.2352/0.2352, allocations: 46.1 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 80.05 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.138, allocations: 62.45 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.004395/0.1424, allocations: 1.699 MB / 481.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1436, allocations: 0.6643 MB / 481.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.1437, allocations: 0 / 481.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.144, allocations: 31.92 kB / 481.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1442, allocations: 43.88 kB / 481.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.01e-06/0.1443, allocations: 0 / 481.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1444, allocations: 43.89 kB / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.1445, allocations: 4 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.1445, allocations: 11.92 kB / 481.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1446, allocations: 27.86 kB / 481.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1447, allocations: 0 / 481.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.1447, allocations: 15.98 kB / 481.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.1448, allocations: 19.92 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.1449, allocations: 23.75 kB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.145, allocations: 68.02 kB / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1451, allocations: 0 / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1451, allocations: 0 / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1451, allocations: 4 kB / 482 MB, free: 2.918 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.0005232/0.1456, allocations: 363.4 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1457, allocations: 8.875 kB / 482.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.1457, allocations: 34.75 kB / 482.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1458, allocations: 16.75 kB / 482.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.1459, allocations: 172.3 kB / 482.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.146, allocations: 12.36 kB / 482.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.146, allocations: 4.312 kB / 482.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1462, allocations: 115.4 kB / 482.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1462, allocations: 11.92 kB / 482.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1462, allocations: 4 kB / 482.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/0.1463, allocations: 23.92 kB / 482.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.649e-05/0.1464, allocations: 43.91 kB / 482.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.1471, allocations: 0.8906 MB / 483.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.188e-05/0.1472, allocations: 169.1 kB / 483.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.1473, allocations: 88.02 kB / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.1473, allocations: 75.28 kB / 484.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.1474, allocations: 113.9 kB / 484.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.1474, allocations: 0 / 484.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.102e-05/0.1475, allocations: 37.61 kB / 484.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.1476, allocations: 126.7 kB / 484.3 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1478, allocations: 186 kB / 484.5 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1478, allocations: 25.7 kB / 484.5 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1479, allocations: 147.1 kB / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.1479, allocations: 12 kB / 484.7 MB, free: 20 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.148, allocations: 41.66 kB / 484.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1481, allocations: 322.8 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.1482, allocations: 27.98 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1484, allocations: 161 kB / 485.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1486, allocations: 200.9 kB / 485.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.1487, allocations: 4 kB / 485.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003717/0.149, allocations: 201.6 kB / 485.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1491, allocations: 8 kB / 485.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1491, allocations: 7.938 kB / 485.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.1491, allocations: 4 kB / 485.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1493, allocations: 39.92 kB / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.1493, allocations: 8 kB / 485.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.1494, allocations: 23.69 kB / 485.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1494, allocations: 12 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.0001704/0.1496, allocations: 221.1 kB / 485.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1497, allocations: 116.8 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.1498, allocations: 120.9 kB / 486.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/0.1499, allocations: 180.2 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.651e-05/0.15, allocations: 176.3 kB / 486.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-05/0.1501, allocations: 180.3 kB / 486.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.1504, allocations: 433.1 kB / 487.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.957e-05/0.1505, allocations: 101 kB / 487.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.1505, allocations: 108.9 kB / 487.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.373e-05/0.1506, allocations: 176.3 kB / 487.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.02e-05/0.1507, allocations: 184.3 kB / 487.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.058e-05/0.1508, allocations: 184.2 kB / 487.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.867e-05/0.1509, allocations: 180.2 kB / 488 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.1511, allocations: 323.6 kB / 488.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1512, allocations: 185.9 kB / 488.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.032e-05/0.1513, allocations: 180.3 kB / 488.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1514, allocations: 105 kB / 488.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.1515, allocations: 188.2 kB / 489 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.1516, allocations: 105 kB / 489.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1517, allocations: 127.2 kB / 489.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1517, allocations: 0 / 489.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.1521, allocations: 12 kB / 489.2 MB, free: 11.1 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.0009487/0.153, allocations: 0.9169 MB / 490.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1532, allocations: 80.98 kB / 490.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1532, allocations: 4.062 kB / 490.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.033e-06/0.1532, allocations: 0 / 490.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.1537, allocations: 0.5263 MB / 490.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1555, allocations: 1.884 MB / 492.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1559, allocations: 0.7009 MB / 493.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.1561, allocations: 53 kB / 493.4 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.1562, allocations: 23.44 kB / 493.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1562, allocations: 0 / 493.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.1716, allocations: 1.919 MB / 495.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.1719, allocations: 236.6 kB / 495.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.075, allocations: 0 / 495.6 MB, free: 4.621 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches