Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 115.7 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 71.98 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1508, allocations: 62.45 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00473/0.1556, allocations: 1.74 MB / 481.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.157, allocations: 0.5767 MB / 481.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1571, allocations: 4 kB / 481.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.1578, allocations: 455.2 kB / 482.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.1585, allocations: 283.4 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.1591, allocations: 159 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.1595, allocations: 191.6 kB / 483 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1596, allocations: 16.23 kB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.1598, allocations: 115.7 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.1601, allocations: 235.5 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1602, allocations: 4 kB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1603, allocations: 47.98 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1605, allocations: 91.61 kB / 483.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1606, allocations: 106.9 kB / 483.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.1611, allocations: 283.1 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1611, allocations: 3.984 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1611, allocations: 0 / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1611, allocations: 0 / 483.9 MB, free: 1.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001065/0.1622, allocations: 0.6609 MB / 484.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1622, allocations: 11.97 kB / 484.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.1623, allocations: 34.73 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.1624, allocations: 44.38 kB / 484.6 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.1628, allocations: 308 kB / 484.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1628, allocations: 8.375 kB / 484.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1629, allocations: 384 / 484.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.1631, allocations: 69.59 kB / 485 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1631, allocations: 0 / 485 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1632, allocations: 12.05 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1632, allocations: 0 / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.1634, allocations: 43.89 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007426/0.1641, allocations: 412.7 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.1644, allocations: 66.58 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.1645, allocations: 36.89 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.1646, allocations: 3.984 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1646, allocations: 30.56 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1646, allocations: 0 / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001678/0.1663, allocations: 0.4959 MB / 486.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1663, allocations: 55.41 kB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000982/0.1673, allocations: 0.866 MB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1674, allocations: 29.7 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.1676, allocations: 216.1 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.1676, allocations: 35.45 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.1677, allocations: 33.7 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1679, allocations: 358.8 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.168, allocations: 55.89 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1682, allocations: 55.95 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.1685, allocations: 137 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1685, allocations: 0 / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003979/0.1689, allocations: 193 kB / 488.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1689, allocations: 6.812 kB / 488.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1689, allocations: 3.938 kB / 488.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.169, allocations: 7.938 kB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1691, allocations: 31.92 kB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1691, allocations: 0 / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.973e-05/0.1692, allocations: 11.98 kB / 488.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1692, allocations: 7.938 kB / 488.2 MB, free: 12.7 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 (11): * Single equations (assignments): 11 * 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.0002344/0.1695, allocations: 217.8 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.1695, allocations: 47.38 kB / 488.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.17, allocations: 241.3 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.17, allocations: 3.938 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.17, allocations: 0 / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1701, allocations: 0 / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009028/0.171, allocations: 0.6015 MB / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.171, allocations: 0 / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1711, allocations: 31.91 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1711, allocations: 4 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1711, allocations: 192 / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.1712, allocations: 8 kB / 489.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1712, allocations: 0 / 489.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.1716, allocations: 308.5 kB / 489.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.1717, allocations: 116.5 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1718, allocations: 7.984 kB / 489.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1719, allocations: 4 kB / 489.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.1719, allocations: 15.98 kB / 489.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.172, allocations: 4 kB / 489.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006571/0.1726, allocations: 0.6589 MB / 490.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1726, allocations: 0 / 490.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.1729, allocations: 36 kB / 490.4 MB, free: 10.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001875/0.1748, allocations: 1.182 MB / 491.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003929/0.1752, allocations: 135.8 kB / 491.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1752, allocations: 0 / 491.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1754, allocations: 71.89 kB / 491.8 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.1759, allocations: 38.34 kB / 491.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.1808, allocations: 3.662 MB / 495.5 MB, free: 5.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.1813, allocations: 0.8338 MB / 496.4 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1814, allocations: 32.53 kB / 496.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.1816, allocations: 127.4 kB / 496.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1816, allocations: 0 / 496.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.2047, allocations: 6.424 MB / 0.4912 GB, free: 13.88 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.2051, allocations: 233.5 kB / 0.4914 GB, free: 13.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.26, allocations: 0 / 0.4914 GB, free: 13.63 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches