Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.001193/0.001193, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.00145/0.00145, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.9096/0.9096, allocations: 177 MB / 204.1 MB, free: 5.723 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.2371/0.2371, allocations: 34.23 MB / 294.8 MB, free: 0.6953 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.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 7.938 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.099e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.1799/0.1799, allocations: 4.959 MB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1814, allocations: 2.385 MB / 449.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.1815, allocations: 0 / 449.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.1817, allocations: 37.38 kB / 449.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.1837, allocations: 1.175 MB / 450.7 MB, free: 39.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1839, allocations: 155 kB / 450.9 MB, free: 39.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.1842, allocations: 305.7 kB / 451.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.1842, allocations: 7.5 kB / 451.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006936/0.1849, allocations: 0.7911 MB / 452 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1851, allocations: 151.9 kB / 452.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1851, allocations: 9.828 kB / 452.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.1862, allocations: 1.328 MB / 453.5 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.1863, allocations: 31.05 kB / 453.5 MB, free: 39.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.1863, allocations: 67 kB / 453.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.1869, allocations: 0.5872 MB / 454.2 MB, free: 38.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1869, allocations: 0 / 454.2 MB, free: 38.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1869, allocations: 0 / 454.2 MB, free: 38.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1869, allocations: 0 / 454.2 MB, free: 38.89 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006827/0.1876, allocations: 0.5007 MB / 454.7 MB, free: 38.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1876, allocations: 10.69 kB / 454.7 MB, free: 38.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.1877, allocations: 47.75 kB / 454.7 MB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.1879, allocations: 48.23 kB / 454.8 MB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1881, allocations: 148.4 kB / 454.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1882, allocations: 16.25 kB / 454.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1882, allocations: 14.84 kB / 454.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.1885, allocations: 332.5 kB / 455.3 MB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1885, allocations: 7.938 kB / 455.3 MB, free: 38.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1885, allocations: 7.469 kB / 455.3 MB, free: 38.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1885, allocations: 5.719 kB / 455.3 MB, free: 38.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.1887, allocations: 232.5 kB / 455.5 MB, free: 37.97 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.1895, allocations: 1.049 MB / 456.6 MB, free: 37.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1896, allocations: 78.33 kB / 456.6 MB, free: 36.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.1896, allocations: 39.92 kB / 456.7 MB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.1901, allocations: 454.6 kB / 457.1 MB, free: 36.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.1903, allocations: 188.1 kB / 457.3 MB, free: 36.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1903, allocations: 0 / 457.3 MB, free: 36.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007112/0.191, allocations: 365.4 kB / 457.7 MB, free: 36.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.1911, allocations: 274.3 kB / 457.9 MB, free: 35.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1912, allocations: 162.7 kB / 458.1 MB, free: 35.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1912, allocations: 28.58 kB / 458.1 MB, free: 35.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.1912, allocations: 143.6 kB / 458.3 MB, free: 35.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1913, allocations: 71.47 kB / 458.3 MB, free: 35.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.1913, allocations: 62.36 kB / 458.4 MB, free: 35.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.577e-05/0.1914, allocations: 327.8 kB / 458.7 MB, free: 35.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.1914, allocations: 44.62 kB / 458.7 MB, free: 35.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/0.1915, allocations: 186.9 kB / 458.9 MB, free: 35.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1917, allocations: 257 kB / 459.2 MB, free: 34.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1917, allocations: 0 / 459.2 MB, free: 34.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002346/0.1919, allocations: 265.8 kB / 459.4 MB, free: 34.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1919, allocations: 9.562 kB / 459.5 MB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1919, allocations: 6.516 kB / 459.5 MB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1919, allocations: 9.5 kB / 459.5 MB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.1922, allocations: 99.41 kB / 459.6 MB, free: 34.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001489/0.1923, allocations: 0.5947 MB / 460.2 MB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.1924, allocations: 17.78 kB / 460.2 MB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.1924, allocations: 29.59 kB / 460.2 MB, free: 34.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/0.1925, allocations: 127.8 kB / 460.3 MB, free: 33.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.1925, allocations: 24.28 kB / 460.4 MB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.1928, allocations: 240.5 kB / 460.6 MB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1928, allocations: 2.688 kB / 460.6 MB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1928, allocations: 7.094 kB / 460.6 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1928, allocations: 0 / 460.6 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.193, allocations: 340 kB / 460.9 MB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.193, allocations: 3.062 kB / 460.9 MB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1932, allocations: 48.97 kB / 461 MB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1932, allocations: 3.125 kB / 461 MB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1932, allocations: 4 kB / 461 MB, free: 33.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.213e-05/0.1933, allocations: 0.5859 MB / 461.6 MB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1933, allocations: 3.188 kB / 461.6 MB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.1934, allocations: 145.4 kB / 461.7 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.1934, allocations: 24.67 kB / 461.7 MB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1934, allocations: 7.047 kB / 461.8 MB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1935, allocations: 12.19 kB / 461.8 MB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.1935, allocations: 13.69 kB / 461.8 MB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1935, allocations: 10.12 kB / 461.8 MB, free: 32.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.1936, allocations: 128.5 kB / 461.9 MB, free: 32.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1936, allocations: 0 / 461.9 MB, free: 32.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.1939, allocations: 140.7 kB / 462 MB, free: 32.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004367/0.1943, allocations: 0.841 MB / 462.9 MB, free: 31.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.1946, allocations: 149.5 kB / 463 MB, free: 31.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1946, allocations: 0 / 463 MB, free: 31.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.1947, allocations: 47.08 kB / 463.1 MB, free: 31.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1949, allocations: 60.44 kB / 463.1 MB, free: 31.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1965, allocations: 2.497 MB / 465.6 MB, free: 29.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.1966, allocations: 102.3 kB / 465.7 MB, free: 29.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.1967, allocations: 70.38 kB / 465.8 MB, free: 29.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.1968, allocations: 57.08 kB / 465.9 MB, free: 29.83 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1968, allocations: 0 / 465.9 MB, free: 29.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.213, allocations: 7.417 MB / 473.3 MB, free: 28.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/7.956, allocations: 7.969 kB / 473.3 MB, free: 28.27 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.967605124227703]