Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, 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.001124/0.001124, 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.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 73.36 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.154, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00307/0.1572, allocations: 1.672 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.1581, allocations: 0.5611 MB / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.1582, allocations: 0 / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.1588, allocations: 451.1 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004518/0.1592, allocations: 291.3 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1596, allocations: 143.2 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1598, allocations: 167.7 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1599, allocations: 15.98 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1601, allocations: 127.6 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.1604, allocations: 207.6 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1604, allocations: 0 / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1605, allocations: 51.98 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1606, allocations: 79.69 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.1607, allocations: 107 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.1611, allocations: 283.1 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1611, allocations: 0 / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1611, allocations: 4 kB / 484.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1611, allocations: 0 / 484.3 MB, free: 1.059 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.000808/0.1619, allocations: 0.653 MB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.162, allocations: 8.031 kB / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.162, allocations: 42.73 kB / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.086e-05/0.1621, allocations: 40.38 kB / 485 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.1624, allocations: 300.3 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1624, allocations: 4.375 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1625, allocations: 8.359 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.1627, allocations: 73.48 kB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1627, allocations: 0 / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1628, allocations: 0 / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1628, allocations: 7.938 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1629, allocations: 23.98 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.1636, allocations: 404.6 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1637, allocations: 46.56 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.071e-05/0.1638, allocations: 20.94 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1639, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1639, allocations: 30.56 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1639, allocations: 0 / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001252/0.1652, allocations: 315.8 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1652, allocations: 55.34 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.1665, allocations: 0.8738 MB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1665, allocations: 25.7 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.1668, allocations: 228.1 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.1669, allocations: 35.55 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.1669, allocations: 21.7 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1671, allocations: 362.8 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1673, allocations: 19.98 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1674, allocations: 31.97 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.1676, allocations: 60.83 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1676, allocations: 4 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003375/0.168, allocations: 133 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.168, allocations: 8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.168, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.168, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1682, allocations: 19.92 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1682, allocations: 0 / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.1683, allocations: 7.984 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1683, allocations: 8 kB / 488.1 MB, free: 12.99 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 (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.0002719/0.1686, allocations: 209.8 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1687, allocations: 43.44 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.1691, allocations: 169.5 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1692, allocations: 3.938 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1692, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1692, allocations: 4 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008578/0.1701, allocations: 0.5035 MB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1701, allocations: 11.88 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.685e-05/0.1702, allocations: 15.98 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1702, allocations: 432 / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1702, allocations: 8 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1702, allocations: 4.031 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1702, allocations: 0 / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.1707, allocations: 243.8 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1708, allocations: 108.5 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.1708, allocations: 11.98 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1709, allocations: 11.98 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.171, allocations: 4 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.171, allocations: 3.984 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008731/0.1719, allocations: 0.655 MB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1719, allocations: 0 / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00046/0.1724, allocations: 35.98 kB / 490.1 MB, free: 10.85 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.002191/0.1746, allocations: 1.12 MB / 491.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.1749, allocations: 67.89 kB / 491.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1749, allocations: 0 / 491.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.175, allocations: 35.97 kB / 491.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.1756, allocations: 26.3 kB / 491.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.1802, allocations: 3.359 MB / 494.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.1808, allocations: 0.826 MB / 495.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.974e-05/0.1809, allocations: 20.72 kB / 495.6 MB, free: 5.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.181, allocations: 111.4 kB / 495.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1811, allocations: 0 / 495.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.214, allocations: 6.212 MB / 0.4901 GB, free: 15.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.211, allocations: 10.7 kB / 0.4901 GB, free: 15.12 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches