Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.00144/0.00144, allocations: 106.6 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.001191/0.001191, 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.414/1.414, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 77.06 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1386, allocations: 62.45 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003847/0.1425, allocations: 1.715 MB / 481.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1438, allocations: 0.5495 MB / 481.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.215e-05/0.1439, allocations: 3.938 kB / 481.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.1446, allocations: 455.2 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005487/0.1452, allocations: 287.4 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.1457, allocations: 119.6 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.146, allocations: 163.6 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.1462, allocations: 23.97 kB / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.1464, allocations: 107.7 kB / 482.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.1467, allocations: 207.5 kB / 483 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1467, allocations: 0 / 483 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1468, allocations: 31.98 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.147, allocations: 87.61 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1472, allocations: 103 kB / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.1476, allocations: 267.2 kB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1476, allocations: 0 / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1476, allocations: 0 / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1476, allocations: 0 / 483.5 MB, free: 1.492 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.001/0.1486, allocations: 0.6492 MB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.1487, allocations: 8.875 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.1488, allocations: 34.75 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.531e-05/0.1489, allocations: 48.38 kB / 484.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.1493, allocations: 308.1 kB / 484.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1493, allocations: 4.375 kB / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.1493, allocations: 4.375 kB / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1495, allocations: 61.61 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1496, allocations: 0 / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1496, allocations: 0 / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1496, allocations: 0 / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1497, allocations: 35.97 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.1504, allocations: 396.6 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1506, allocations: 46.56 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.1506, allocations: 20.94 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.1507, allocations: 12.05 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1507, allocations: 34.56 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1507, allocations: 0 / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001149/0.1519, allocations: 287.9 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.152, allocations: 55.41 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.153, allocations: 0.8698 MB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.153, allocations: 29.7 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1533, allocations: 219.9 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.1533, allocations: 19.7 kB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.1534, allocations: 21.72 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1536, allocations: 366.7 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1537, allocations: 39.91 kB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1538, allocations: 31.91 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.1541, allocations: 72.81 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1541, allocations: 0 / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003311/0.1544, allocations: 149.1 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.1544, allocations: 8 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1545, allocations: 0 / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1545, allocations: 0 / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1546, allocations: 27.97 kB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1547, allocations: 3.938 kB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.1547, allocations: 7.938 kB / 487.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1548, allocations: 4.312 kB / 487.3 MB, free: 13.43 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.0002328/0.155, allocations: 217.8 kB / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.1551, allocations: 43.44 kB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.1555, allocations: 169.5 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1555, allocations: 0 / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1555, allocations: 0 / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1555, allocations: 3.938 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007154/0.1563, allocations: 0.4944 MB / 488.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1563, allocations: 4 kB / 488.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.152e-05/0.1564, allocations: 15.98 kB / 488.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1564, allocations: 0 / 488.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.1564, allocations: 11.92 kB / 488.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1564, allocations: 0 / 488.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1564, allocations: 8 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.1568, allocations: 242.9 kB / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.1569, allocations: 116.5 kB / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.1569, allocations: 3.938 kB / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.157, allocations: 8 kB / 488.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.1571, allocations: 11.98 kB / 488.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.1571, allocations: 4 kB / 488.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006223/0.1577, allocations: 0.6511 MB / 489.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1578, allocations: 4 kB / 489.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.1581, allocations: 24 kB / 489.3 MB, free: 11.3 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.001713/0.1598, allocations: 1.072 MB / 490.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.1601, allocations: 79.92 kB / 490.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1601, allocations: 0 / 490.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1602, allocations: 51.89 kB / 490.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.1607, allocations: 22.31 kB / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.1651, allocations: 3.411 MB / 493.9 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.1656, allocations: 0.8242 MB / 494.8 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.48e-05/0.1657, allocations: 16.66 kB / 494.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.1658, allocations: 111.4 kB / 494.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of SimCode: time 2.836e-06/0.1658, allocations: 0 / 494.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.1852, allocations: 5.838 MB / 0.489 GB, free: 15.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.1855, allocations: 236 kB / 0.4892 GB, free: 15.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.136, allocations: 0 / 0.4892 GB, free: 15.69 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches