Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008329/0.0008329, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008457/0.0008457, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8617/0.8617, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 34.23 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.759e-05, allocations: 6.219 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.1609/0.1609, allocations: 1.65 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000767/0.1617, allocations: 0.7696 MB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.1617, allocations: 2.969 kB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.162, allocations: 27.47 kB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1622, allocations: 47.8 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.719e-06/0.1622, allocations: 0 / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1623, allocations: 34.48 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.1624, allocations: 6.906 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.1624, allocations: 15.47 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.1624, allocations: 18.77 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1625, allocations: 2.875 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.852e-05/0.1625, allocations: 6.156 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.1625, allocations: 20.27 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.1626, allocations: 12.33 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1627, allocations: 62.11 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1627, allocations: 2.844 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1627, allocations: 0.5312 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1627, allocations: 0.7188 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002601/0.163, allocations: 286.2 kB / 445.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.163, allocations: 9 kB / 445.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.163, allocations: 43.48 kB / 445.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.1631, allocations: 9.234 kB / 445.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.1631, allocations: 118.8 kB / 445.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1631, allocations: 384 / 445.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.1631, allocations: 6.531 kB / 445.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.1633, allocations: 132 kB / 445.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1633, allocations: 192 / 445.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1633, allocations: 384 / 445.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.1633, allocations: 27.88 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.731e-05/0.1634, allocations: 47.64 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.1637, allocations: 0.8501 MB / 446.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.52e-05/0.1637, allocations: 169.2 kB / 446.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.161e-05/0.1637, allocations: 83.02 kB / 446.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.1637, allocations: 79.72 kB / 446.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.1637, allocations: 112.5 kB / 446.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.1637, allocations: 2.125 kB / 446.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.171e-05/0.1638, allocations: 40.38 kB / 446.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.1638, allocations: 126.7 kB / 447 MB, free: 41.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1639, allocations: 193.3 kB / 447.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-06/0.1639, allocations: 25.7 kB / 447.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.164, allocations: 154.2 kB / 447.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.164, allocations: 4 kB / 447.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.164, allocations: 47.83 kB / 447.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.039e-05/0.164, allocations: 320.7 kB / 447.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.1641, allocations: 32.97 kB / 447.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.1641, allocations: 149.9 kB / 447.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1642, allocations: 212.5 kB / 448.1 MB, free: 40.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1642, allocations: 0 / 448.1 MB, free: 40.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001929/0.1644, allocations: 195.9 kB / 448.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1644, allocations: 16 kB / 448.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1645, allocations: 2.5 kB / 448.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1645, allocations: 5.375 kB / 448.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.1646, allocations: 39.88 kB / 448.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1646, allocations: 9.875 kB / 448.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.1646, allocations: 27.94 kB / 448.4 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1646, allocations: 8.031 kB / 448.4 MB, free: 40.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 5.778e-05/0.1647, allocations: 214.1 kB / 448.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1647, allocations: 110.6 kB / 448.7 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.1647, allocations: 129.6 kB / 448.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.1648, allocations: 176.3 kB / 449 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.1648, allocations: 186.1 kB / 449.2 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.1648, allocations: 177.9 kB / 449.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.1649, allocations: 396.6 kB / 449.7 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.1649, allocations: 107.6 kB / 449.8 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.1649, allocations: 105.8 kB / 449.9 MB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/0.1649, allocations: 180.2 kB / 450.1 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.165, allocations: 186.3 kB / 450.3 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.165, allocations: 180.4 kB / 450.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.414e-05/0.165, allocations: 183.1 kB / 450.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.088e-05/0.165, allocations: 322.7 kB / 451 MB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.1651, allocations: 107.8 kB / 451.1 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1651, allocations: 189.4 kB / 451.3 MB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.1651, allocations: 101 kB / 451.4 MB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.1651, allocations: 184 kB / 451.5 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1652, allocations: 104.9 kB / 451.6 MB, free: 36.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.1652, allocations: 136.2 kB / 451.8 MB, free: 36.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1652, allocations: 0 / 451.8 MB, free: 36.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.1654, allocations: 15.75 kB / 451.8 MB, free: 36.68 MB / 410.7 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 (0): * Single equations (assignments): 0 * 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.0004639/0.1659, allocations: 0.922 MB / 452.7 MB, free: 35.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.166, allocations: 71.39 kB / 452.8 MB, free: 35.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.166, allocations: 0 / 452.8 MB, free: 35.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.166, allocations: 12.12 kB / 452.8 MB, free: 35.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.1662, allocations: 461.5 kB / 453.2 MB, free: 35.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1673, allocations: 1.864 MB / 455.1 MB, free: 33.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.313e-05/0.1674, allocations: 90.08 kB / 455.2 MB, free: 33.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.1676, allocations: 53.31 kB / 455.2 MB, free: 33.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.1676, allocations: 29.69 kB / 455.3 MB, free: 33.54 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1676, allocations: 3.938 kB / 455.3 MB, free: 33.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.1844, allocations: 2.737 MB / 458 MB, free: 32.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.953, allocations: 6.469 kB / 458 MB, free: 32.34 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.810650168918073]