Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0008886/0.0008886, 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.001008/0.001008, 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.899/0.899, 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.2417/0.2417, allocations: 34.24 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.517e-05, allocations: 2.281 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.1618/0.1618, allocations: 1.664 MB / 443.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006813/0.1625, allocations: 0.541 MB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.1625, allocations: 2.938 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1629, allocations: 456.2 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1632, allocations: 298.8 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1634, allocations: 125.6 kB / 445.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1636, allocations: 177.8 kB / 445.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.1636, allocations: 15.03 kB / 445.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.1637, allocations: 120.1 kB / 445.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1639, allocations: 242.2 kB / 445.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1639, allocations: 5.312 kB / 445.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.164, allocations: 54.27 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.164, allocations: 90.11 kB / 445.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.1641, allocations: 44.05 kB / 446 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1642, allocations: 256.9 kB / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1642, allocations: 0 / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1642, allocations: 2.625 kB / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1643, allocations: 0 / 446.2 MB, free: 43.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004154/0.1647, allocations: 0.5913 MB / 446.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1647, allocations: 8.781 kB / 446.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.098e-05/0.1647, allocations: 30.75 kB / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.1648, allocations: 49.02 kB / 446.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1649, allocations: 252.6 kB / 447.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1649, allocations: 384 / 447.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1649, allocations: 7.219 kB / 447.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.798e-05/0.165, allocations: 59.42 kB / 447.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.165, allocations: 3.156 kB / 447.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.165, allocations: 384 / 447.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1651, allocations: 4.125 kB / 447.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.552e-05/0.1651, allocations: 31.61 kB / 447.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.1654, allocations: 361 kB / 447.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.63e-05/0.1655, allocations: 53.72 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.1655, allocations: 18.36 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1655, allocations: 3.422 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.086e-05/0.1655, allocations: 33.31 kB / 447.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.1655, allocations: 0 / 447.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005287/0.166, allocations: 317.3 kB / 448 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.1661, allocations: 51.41 kB / 448.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.1665, allocations: 0.8752 MB / 449 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.1665, allocations: 29.7 kB / 449 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.1666, allocations: 229.9 kB / 449.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1666, allocations: 28.55 kB / 449.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1666, allocations: 19.62 kB / 449.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.1666, allocations: 364.8 kB / 449.6 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.1667, allocations: 28.98 kB / 449.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.1667, allocations: 33.41 kB / 449.7 MB, free: 41.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.1668, allocations: 64.34 kB / 449.7 MB, free: 40.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1668, allocations: 1.688 kB / 449.7 MB, free: 40.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001115/0.1669, allocations: 133.4 kB / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1669, allocations: 2.906 kB / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1669, allocations: 2.844 kB / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1669, allocations: 0 / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.167, allocations: 21.89 kB / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.167, allocations: 0 / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.167, allocations: 14.17 kB / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.167, allocations: 2.875 kB / 449.9 MB, free: 40.91 MB / 410.7 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 9.174e-05/0.1671, allocations: 215.7 kB / 450.1 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.1672, allocations: 47.77 kB / 450.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.1673, allocations: 160.5 kB / 450.3 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1673, allocations: 4 kB / 450.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1673, allocations: 2.938 kB / 450.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1673, allocations: 0 / 450.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.1676, allocations: 471.4 kB / 450.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1676, allocations: 2.562 kB / 450.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.1676, allocations: 21.81 kB / 450.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1676, allocations: 6.156 kB / 450.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1677, allocations: 7.188 kB / 450.8 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1677, allocations: 3.938 kB / 450.8 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1677, allocations: 6.625 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.1678, allocations: 239.1 kB / 451.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.1678, allocations: 38.67 kB / 451.1 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1678, allocations: 0 / 451.1 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.75e-05/0.1678, allocations: 16.92 kB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.1679, allocations: 10.03 kB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.1679, allocations: 2.812 kB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000293/0.1682, allocations: 0.6553 MB / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1682, allocations: 0 / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000165/0.1683, allocations: 34.17 kB / 451.8 MB, free: 39.83 MB / 410.7 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.0008641/0.1692, allocations: 1.151 MB / 453 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1693, allocations: 62.27 kB / 453 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1693, allocations: 0 / 453 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.1694, allocations: 39.19 kB / 453.1 MB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1697, allocations: 29.94 kB / 453.1 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.1715, allocations: 3.342 MB / 456.5 MB, free: 37.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.1716, allocations: 223.5 kB / 456.7 MB, free: 37.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.829e-05/0.1717, allocations: 17.72 kB / 456.7 MB, free: 37.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.1718, allocations: 108.2 kB / 456.8 MB, free: 36.98 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1718, allocations: 4 kB / 456.8 MB, free: 36.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.1873, allocations: 7.041 MB / 463.8 MB, free: 35.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/7.048, allocations: 9.281 kB / 463.8 MB, free: 35.26 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.990214943885803]