Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, 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.403/1.403, allocations: 227.4 MB / 246.3 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.2638/0.2638, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 76.59 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1334, allocations: 62.45 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003498/0.1369, allocations: 1.68 MB / 481.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.138, allocations: 0.53 MB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.138, allocations: 4 kB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.1386, allocations: 447.2 kB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.1391, allocations: 283.4 kB / 482.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.1395, allocations: 111.2 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.1398, allocations: 155.8 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1399, allocations: 8.188 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1401, allocations: 111.7 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.1404, allocations: 207.6 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1404, allocations: 0 / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.1405, allocations: 19.94 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1406, allocations: 79.69 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.1407, allocations: 103 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.141, allocations: 243 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1411, allocations: 0 / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1411, allocations: 0 / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1411, allocations: 0 / 483.3 MB, free: 1.688 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009261/0.142, allocations: 0.6377 MB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/0.1421, allocations: 8.875 kB / 484 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.1421, allocations: 38.73 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.1422, allocations: 40.38 kB / 484.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.1426, allocations: 300.1 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1426, allocations: 4.375 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1426, allocations: 8.125 kB / 484.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1428, allocations: 41.69 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1428, allocations: 0 / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1428, allocations: 4 kB / 484.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1428, allocations: 4 kB / 484.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.1429, allocations: 23.92 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.1435, allocations: 372.8 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1436, allocations: 34.56 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.1437, allocations: 24.84 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1437, allocations: 0 / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.1438, allocations: 34.56 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1438, allocations: 3.938 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003214/0.1441, allocations: 97.12 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.1442, allocations: 59.33 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009215/0.1451, allocations: 0.866 MB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1451, allocations: 37.83 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1453, allocations: 224 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1453, allocations: 3.906 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.1454, allocations: 13.72 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1456, allocations: 366.7 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.1456, allocations: 8 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.1457, allocations: 11.98 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.1457, allocations: 32.84 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1457, allocations: 0 / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001543/0.1459, allocations: 89.12 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1459, allocations: 4 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1459, allocations: 0 / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.146, allocations: 0 / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.907e-05/0.1461, allocations: 7.984 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1461, allocations: 4 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.1461, allocations: 4.031 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1461, allocations: 3.938 kB / 486.7 MB, free: 14.08 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 (2): * Single equations (assignments): 2 * 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.0001791/0.1463, allocations: 213.8 kB / 486.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.1464, allocations: 43.44 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.1466, allocations: 108.7 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1466, allocations: 0 / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1466, allocations: 0 / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1466, allocations: 32 / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.1469, allocations: 293.5 kB / 487.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1469, allocations: 0 / 487.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.147, allocations: 7.984 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.147, allocations: 0 / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.147, allocations: 0 / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.147, allocations: 0 / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.147, allocations: 3.938 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.1472, allocations: 202.8 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.1473, allocations: 104.6 kB / 487.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.1473, allocations: 0 / 487.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.1474, allocations: 4 kB / 487.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.1474, allocations: 3.984 kB / 487.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1474, allocations: 0 / 487.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000599/0.148, allocations: 0.6589 MB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.148, allocations: 0 / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1483, allocations: 27.98 kB / 488.4 MB, free: 12.33 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 (2): * Single equations (assignments): 2 * 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.001259/0.1496, allocations: 0.9546 MB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.1498, allocations: 23.92 kB / 489.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1498, allocations: 0 / 489.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.1498, allocations: 15.98 kB / 489.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.1503, allocations: 25.88 kB / 489.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.1539, allocations: 3.246 MB / 492.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.1543, allocations: 0.8145 MB / 493.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.361e-05/0.1544, allocations: 8.062 kB / 493.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1545, allocations: 115.4 kB / 493.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1545, allocations: 0 / 493.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.1723, allocations: 5.469 MB / 499 MB, free: 1.691 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.1725, allocations: 230.5 kB / 499.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.078, allocations: 3.75 kB / 499.2 MB, free: 1.438 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches