Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 74.97 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1423, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003837/0.1462, allocations: 2.108 MB / 482.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1485, allocations: 1.286 MB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.1487, allocations: 4 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.149, allocations: 51.52 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006024/0.1496, allocations: 211.1 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1508, allocations: 464.7 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.1513, allocations: 327 kB / 484.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1515, allocations: 65 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.1519, allocations: 151.3 kB / 484.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.1522, allocations: 195.2 kB / 485 MB, free: 376 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.1523, allocations: 16 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.1525, allocations: 67.97 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.1526, allocations: 143.5 kB / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.1528, allocations: 186.6 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.1534, allocations: 414.3 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1534, allocations: 0 / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1534, allocations: 3.938 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1534, allocations: 0 / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001198/0.1546, allocations: 0.824 MB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1547, allocations: 16.03 kB / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.1547, allocations: 38.73 kB / 486.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004744/0.1552, allocations: 100 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.1558, allocations: 496.3 kB / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1558, allocations: 8.375 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.1559, allocations: 11.94 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.1562, allocations: 147.2 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1562, allocations: 0 / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1562, allocations: 0 / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1562, allocations: 4 kB / 487.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.1565, allocations: 103.8 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.1575, allocations: 0.6956 MB / 488.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.1578, allocations: 125.2 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.158, allocations: 69.73 kB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.158, allocations: 0 / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.158, allocations: 38.5 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.158, allocations: 0 / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002007/0.16, allocations: 0.6931 MB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.1601, allocations: 85.05 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.1612, allocations: 0.9182 MB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1612, allocations: 29.89 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.1615, allocations: 280.2 kB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.1616, allocations: 67.03 kB / 490.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.746e-05/0.1617, allocations: 37.7 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1618, allocations: 313.9 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.1621, allocations: 95.94 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.1623, allocations: 104 kB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.1629, allocations: 209.5 kB / 491.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1629, allocations: 0 / 491.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007002/0.1636, allocations: 308.7 kB / 491.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1636, allocations: 10.5 kB / 491.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1636, allocations: 0 / 491.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1636, allocations: 192 / 491.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.1639, allocations: 51.95 kB / 491.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1639, allocations: 3.938 kB / 491.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.1641, allocations: 31.88 kB / 491.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.1642, allocations: 8 kB / 491.6 MB, free: 9.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.0002094/0.1644, allocations: 217.7 kB / 491.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.1645, allocations: 59.25 kB / 491.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007544/0.1653, allocations: 358.7 kB / 492.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1653, allocations: 0 / 492.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1653, allocations: 7.938 kB / 492.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1653, allocations: 0 / 492.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.1667, allocations: 0.8995 MB / 493.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1667, allocations: 384 / 493.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.1669, allocations: 59.88 kB / 493.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.167, allocations: 0 / 493.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.167, allocations: 8 kB / 493.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.167, allocations: 7.938 kB / 493.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.167, allocations: 0 / 493.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009045/0.1679, allocations: 478.3 kB / 493.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.1681, allocations: 160.3 kB / 493.9 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.1682, allocations: 3.938 kB / 493.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.1684, allocations: 27.92 kB / 493.9 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.1685, allocations: 23.91 kB / 493.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1685, allocations: 7.984 kB / 493.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00073/0.1693, allocations: 0.6747 MB / 494.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1693, allocations: 0 / 494.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.1696, allocations: 68 kB / 494.7 MB, free: 6.27 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 (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 Backend phase and start with SimCode phase: time 0.001855/0.1715, allocations: 1.306 MB / 496 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.1721, allocations: 231.7 kB / 496.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1722, allocations: 4 kB / 496.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.1725, allocations: 119.9 kB / 496.3 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.1731, allocations: 81.64 kB / 496.4 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/0.1806, allocations: 5.487 MB / 0.4901 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.1811, allocations: 0.873 MB / 0.491 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.1813, allocations: 87.2 kB / 0.4911 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.1816, allocations: 191.4 kB / 0.4912 GB, free: 13.89 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1816, allocations: 0 / 0.4912 GB, free: 13.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.2127, allocations: 10.24 MB / 0.5012 GB, free: 3.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.339, allocations: 15.47 kB / 0.5013 GB, free: 3.711 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches