Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001483/0.001483, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 205.8 kB / 18.27 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.411/1.411, 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.2315/0.2315, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 69.89 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1508, allocations: 62.43 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004917/0.1558, allocations: 2.09 MB / 481.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.1595, allocations: 1.337 MB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.1599, allocations: 3.938 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.1603, allocations: 43.7 kB / 483.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008413/0.1612, allocations: 187.4 kB / 483.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.163, allocations: 0.5704 MB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007342/0.1637, allocations: 315.1 kB / 484.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.164, allocations: 72.98 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.1645, allocations: 135.4 kB / 484.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.1649, allocations: 191.3 kB / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.1649, allocations: 16 kB / 484.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.1652, allocations: 63.97 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.1654, allocations: 147.5 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1657, allocations: 178.5 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000774/0.1664, allocations: 406.6 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1665, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1665, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.1665, allocations: 0 / 485.3 MB, free: 15.79 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.001688/0.1682, allocations: 0.8182 MB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.1683, allocations: 8.031 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.485e-05/0.1683, allocations: 42.73 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.1688, allocations: 72.25 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.1696, allocations: 488.4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1696, allocations: 4.375 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.1697, allocations: 19.86 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.1701, allocations: 151.2 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.1701, allocations: 3.906 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1702, allocations: 4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1702, allocations: 4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.1705, allocations: 95.86 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.1718, allocations: 0.7035 MB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.1721, allocations: 117.3 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1722, allocations: 49.75 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.1723, allocations: 3.938 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.1723, allocations: 42.56 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1723, allocations: 0 / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001765/0.1741, allocations: 0.5524 MB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.1742, allocations: 85.11 kB / 488.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.1754, allocations: 0.9337 MB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1755, allocations: 25.7 kB / 489.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.1757, allocations: 268.2 kB / 489.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.1758, allocations: 59.23 kB / 489.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.1759, allocations: 33.7 kB / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.176, allocations: 313.9 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.1762, allocations: 71.89 kB / 490.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1764, allocations: 84.33 kB / 490.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.1768, allocations: 161.7 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1768, allocations: 4 kB / 490.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005931/0.1774, allocations: 236.8 kB / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1774, allocations: 10.81 kB / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1774, allocations: 0 / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.1775, allocations: 3.984 kB / 490.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.1777, allocations: 39.97 kB / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1777, allocations: 4 kB / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1779, allocations: 12 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1779, allocations: 7.984 kB / 490.8 MB, free: 10.04 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 (16): * Single equations (assignments): 16 * 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.0002325/0.1782, allocations: 217.7 kB / 491 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1783, allocations: 59.25 kB / 491.1 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006349/0.1789, allocations: 291.5 kB / 491.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.1789, allocations: 4 kB / 491.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.179, allocations: 0 / 491.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.179, allocations: 7.984 kB / 491.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.1803, allocations: 0.8215 MB / 492.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1804, allocations: 0 / 492.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.1805, allocations: 39.91 kB / 492.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/0.1806, allocations: 3.984 kB / 492.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1806, allocations: 11.88 kB / 492.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.1806, allocations: 7.922 kB / 492.2 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1806, allocations: 0 / 492.2 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.1812, allocations: 421.9 kB / 492.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.1814, allocations: 148.4 kB / 492.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.1815, allocations: 4 kB / 492.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.1817, allocations: 19.92 kB / 492.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.1818, allocations: 11.98 kB / 492.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1818, allocations: 4 kB / 492.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008126/0.1826, allocations: 0.6864 MB / 493.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.1826, allocations: 4 kB / 493.5 MB, free: 7.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.183, allocations: 59.84 kB / 493.6 MB, free: 7.133 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 (16): * Single equations (assignments): 16 * 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.001837/0.1849, allocations: 1.243 MB / 494.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.1854, allocations: 175.7 kB / 495 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1854, allocations: 0 / 495 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.1856, allocations: 87.89 kB / 495.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.1863, allocations: 77.44 kB / 495.2 MB, free: 5.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007541/0.1938, allocations: 5.477 MB / 0.4889 GB, free: 96 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.1944, allocations: 0.8795 MB / 0.4898 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002789/0.1947, allocations: 95.2 kB / 0.4899 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.195, allocations: 175.4 kB / 0.49 GB, free: 14.93 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.195, allocations: 0 / 0.49 GB, free: 14.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.2257, allocations: 9.795 MB / 0.4996 GB, free: 5.227 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/0.226, allocations: 232.9 kB / 0.4998 GB, free: 4.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.257, allocations: 0 / 0.4998 GB, free: 4.973 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches