Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001299/0.001299, allocations: 104.8 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.001425/0.001425, 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.485/1.485, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 76.31 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1425, allocations: 62.46 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.004511/0.1471, allocations: 1.673 MB / 481.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1485, allocations: 0.5495 MB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.1486, allocations: 0 / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.149, allocations: 71.78 kB / 481.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.1494, allocations: 87.77 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.1498, allocations: 103.3 kB / 481.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.15, allocations: 79.8 kB / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1502, allocations: 12 kB / 482 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.303e-05/0.1503, allocations: 35.84 kB / 482 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1504, allocations: 55.81 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1504, allocations: 8 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1506, allocations: 43.92 kB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.1507, allocations: 27.91 kB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.1507, allocations: 27.75 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.151, allocations: 99.98 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.151, allocations: 0 / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.151, allocations: 3.938 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.151, allocations: 0 / 482.3 MB, free: 2.762 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.0006657/0.1517, allocations: 418.9 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1517, allocations: 12.88 kB / 482.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1518, allocations: 34.75 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.1518, allocations: 12.84 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1521, allocations: 204.7 kB / 482.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1521, allocations: 384 / 482.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1522, allocations: 384 / 482.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1523, allocations: 65.59 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1524, allocations: 3.906 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1524, allocations: 0 / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1524, allocations: 0 / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1525, allocations: 31.97 kB / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.1531, allocations: 308.7 kB / 483.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1532, allocations: 46.56 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.1533, allocations: 16.94 kB / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.1533, allocations: 4 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.1533, allocations: 34.56 kB / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1533, allocations: 0 / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001046/0.1544, allocations: 245.3 kB / 483.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1545, allocations: 63.33 kB / 483.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1547, allocations: 214.8 kB / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1547, allocations: 25.7 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.1548, allocations: 108.1 kB / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.1549, allocations: 23.61 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.1549, allocations: 25.72 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1551, allocations: 322.8 kB / 484.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.1552, allocations: 35.97 kB / 484.5 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.1553, allocations: 23.98 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.1555, allocations: 73.05 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1555, allocations: 0 / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002521/0.1557, allocations: 117.5 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1558, allocations: 4 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1558, allocations: 4 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1558, allocations: 4 kB / 484.7 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1559, allocations: 15.98 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1559, allocations: 3.938 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.156, allocations: 7.984 kB / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.156, allocations: 4 kB / 484.7 MB, free: 64 kB / 350.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 (8): * Single equations (assignments): 8 * 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.0001401/0.1561, allocations: 121.8 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.1562, allocations: 19.8 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.1565, allocations: 138.9 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1566, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1566, allocations: 11.88 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1566, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.1572, allocations: 423.3 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1572, allocations: 0 / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.1573, allocations: 23.92 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1573, allocations: 0 / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1573, allocations: 0 / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.1573, allocations: 7.984 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1573, allocations: 0 / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.1576, allocations: 216.2 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.1577, allocations: 88.95 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1577, allocations: 4 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.1578, allocations: 11.92 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1579, allocations: 4 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1579, allocations: 0 / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.158, allocations: 172.7 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.158, allocations: 0 / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1583, allocations: 20 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001669/0.16, allocations: 1.097 MB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.1603, allocations: 75.94 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1603, allocations: 0 / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.767e-05/0.1604, allocations: 43.98 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1608, allocations: 15.98 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.163, allocations: 1.727 MB / 488.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1633, allocations: 0.7082 MB / 489.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.77e-05/0.1634, allocations: 20.95 kB / 489.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.1635, allocations: 39.42 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1635, allocations: 0 / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.1784, allocations: 2.907 MB / 492.6 MB, free: 8.184 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.1786, allocations: 234.1 kB / 492.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.103, allocations: 0 / 492.8 MB, free: 7.93 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches