Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.0014/0.0014, allocations: 105.4 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2605/0.2605, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 80.39 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1461, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003929/0.15, allocations: 1.676 MB / 481.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1512, allocations: 0.5534 MB / 481.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.1513, allocations: 0 / 481.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.1519, allocations: 451.2 kB / 482.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.1525, allocations: 283.5 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.153, allocations: 155.1 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.1534, allocations: 171.7 kB / 482.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1535, allocations: 15.92 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1537, allocations: 111.8 kB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.154, allocations: 219.6 kB / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1541, allocations: 0 / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.651e-05/0.1542, allocations: 24 kB / 483.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1543, allocations: 87.67 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1544, allocations: 110.9 kB / 483.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.1547, allocations: 247 kB / 483.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1548, allocations: 0 / 483.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1548, allocations: 0 / 483.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1548, allocations: 4 kB / 483.7 MB, free: 1.434 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.0008467/0.1556, allocations: 0.6377 MB / 484.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1557, allocations: 8.031 kB / 484.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.1557, allocations: 42.75 kB / 484.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.1558, allocations: 40.38 kB / 484.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.1561, allocations: 300.1 kB / 484.7 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1562, allocations: 384 / 484.7 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.1562, allocations: 4.375 kB / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1564, allocations: 57.56 kB / 484.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1564, allocations: 0 / 484.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1564, allocations: 0 / 484.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1564, allocations: 0 / 484.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.1565, allocations: 31.97 kB / 484.8 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.1571, allocations: 388.7 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.825e-05/0.1572, allocations: 38.5 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.1573, allocations: 12.91 kB / 485.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1573, allocations: 4 kB / 485.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1574, allocations: 38.56 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.1574, allocations: 0 / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003/0.1577, allocations: 93.2 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1577, allocations: 59.34 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008924/0.1586, allocations: 0.8738 MB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1586, allocations: 25.7 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1588, allocations: 232 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.1588, allocations: 11.94 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1589, allocations: 13.72 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1591, allocations: 366.7 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.1591, allocations: 8 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1592, allocations: 11.98 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.066e-05/0.1593, allocations: 24.84 kB / 486.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1593, allocations: 4.062 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001689/0.1594, allocations: 105 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1595, allocations: 4 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1595, allocations: 3.938 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1595, allocations: 0 / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.1596, allocations: 4 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1596, allocations: 0 / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/0.1597, allocations: 8 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1597, allocations: 0 / 487.1 MB, free: 13.79 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.0001935/0.1599, allocations: 217.7 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.1599, allocations: 43.44 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.1602, allocations: 108.7 kB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1602, allocations: 0 / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1602, allocations: 0 / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.1602, allocations: 4 kB / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.1605, allocations: 285.5 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1605, allocations: 4.031 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.1606, allocations: 15.92 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1606, allocations: 0 / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1606, allocations: 0 / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1606, allocations: 0 / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1606, allocations: 0 / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1608, allocations: 194.9 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.1609, allocations: 112.6 kB / 488 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1609, allocations: 4 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.161, allocations: 0 / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.161, allocations: 3.984 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.161, allocations: 4 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005809/0.1616, allocations: 0.6589 MB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1616, allocations: 0 / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1619, allocations: 23.94 kB / 488.7 MB, free: 12.03 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.001192/0.1631, allocations: 0.9717 MB / 489.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.1633, allocations: 27.97 kB / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1633, allocations: 0 / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.1633, allocations: 11.94 kB / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.1638, allocations: 29.3 kB / 489.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.1675, allocations: 3.269 MB / 493 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1679, allocations: 0.8221 MB / 493.9 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.037e-05/0.168, allocations: 16.05 kB / 493.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1681, allocations: 111.4 kB / 494 MB, free: 6.742 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1681, allocations: 0 / 494 MB, free: 6.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.1856, allocations: 5.581 MB / 499.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.1858, allocations: 236.1 kB / 499.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.139, allocations: 3.938 kB / 499.8 MB, free: 0.9844 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches