Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008201/0.0008201, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8797/0.8797, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2244/0.2244, allocations: 32.79 MB / 293.5 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.136e-05, allocations: 3.547 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.1814/0.1814, allocations: 4.972 MB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1832, allocations: 2.364 MB / 447 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.1833, allocations: 2.531 kB / 447 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.1835, allocations: 47.52 kB / 447 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.1856, allocations: 1.123 MB / 448.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1858, allocations: 157 kB / 448.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.1861, allocations: 305.1 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.1861, allocations: 7.656 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006991/0.1868, allocations: 0.7073 MB / 449.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.187, allocations: 142.4 kB / 449.4 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.187, allocations: 8.438 kB / 449.4 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.1882, allocations: 1.215 MB / 450.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.1882, allocations: 34.58 kB / 450.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.1883, allocations: 60.02 kB / 450.8 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.1888, allocations: 0.5938 MB / 451.3 MB, free: 41.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1888, allocations: 0 / 451.3 MB, free: 41.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1888, allocations: 1.5 kB / 451.3 MB, free: 41.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1889, allocations: 0 / 451.3 MB, free: 41.65 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.0007006/0.1896, allocations: 0.5005 MB / 451.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1896, allocations: 12.12 kB / 451.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.1896, allocations: 50.2 kB / 451.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.1899, allocations: 48.97 kB / 452 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1901, allocations: 153.3 kB / 452.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1901, allocations: 10.06 kB / 452.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1901, allocations: 17.28 kB / 452.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1904, allocations: 326.3 kB / 452.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1904, allocations: 3.938 kB / 452.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.1904, allocations: 7.219 kB / 452.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1904, allocations: 4.453 kB / 452.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.1906, allocations: 243 kB / 452.7 MB, free: 40.73 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.0006852/0.1913, allocations: 1.033 MB / 453.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1915, allocations: 89.16 kB / 453.8 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.1915, allocations: 42.36 kB / 453.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/0.1919, allocations: 451.6 kB / 454.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.1921, allocations: 197 kB / 454.5 MB, free: 39.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.1921, allocations: 0 / 454.5 MB, free: 39.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006038/0.1927, allocations: 365.3 kB / 454.9 MB, free: 39.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1928, allocations: 268.2 kB / 455.1 MB, free: 38.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.1928, allocations: 163.7 kB / 455.3 MB, free: 38.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1928, allocations: 32.89 kB / 455.3 MB, free: 38.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.1929, allocations: 142.3 kB / 455.4 MB, free: 38.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1929, allocations: 75.97 kB / 455.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.193, allocations: 66.27 kB / 455.6 MB, free: 38.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.193, allocations: 321.1 kB / 455.9 MB, free: 38.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/0.193, allocations: 43.05 kB / 455.9 MB, free: 38.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.1931, allocations: 186.4 kB / 456.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1933, allocations: 256.6 kB / 456.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1933, allocations: 3.25 kB / 456.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002447/0.1935, allocations: 266.6 kB / 456.6 MB, free: 37.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1936, allocations: 6.531 kB / 456.6 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1936, allocations: 6.375 kB / 456.7 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1936, allocations: 6.5 kB / 456.7 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.1938, allocations: 98.05 kB / 456.8 MB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001687/0.194, allocations: 0.5912 MB / 457.3 MB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.1941, allocations: 10.91 kB / 457.4 MB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.1941, allocations: 28.03 kB / 457.4 MB, free: 36.86 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.914e-05/0.1942, allocations: 150.8 kB / 457.5 MB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1942, allocations: 17.56 kB / 457.5 MB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.1945, allocations: 228.7 kB / 457.8 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1945, allocations: 3.219 kB / 457.8 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1945, allocations: 0 / 457.8 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1945, allocations: 3.062 kB / 457.8 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1947, allocations: 337.2 kB / 458.1 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1947, allocations: 7.375 kB / 458.1 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1948, allocations: 55.52 kB / 458.2 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1949, allocations: 0 / 458.2 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1949, allocations: 10.39 kB / 458.2 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.7e-05/0.195, allocations: 0.582 MB / 458.8 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.195, allocations: 0 / 458.8 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.1951, allocations: 147.3 kB / 458.9 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.1951, allocations: 24.86 kB / 458.9 MB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.1951, allocations: 15.14 kB / 458.9 MB, free: 35.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.1952, allocations: 10.31 kB / 459 MB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.1952, allocations: 9.969 kB / 459 MB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1952, allocations: 10.31 kB / 459 MB, free: 35.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.285e-05/0.1953, allocations: 128 kB / 459.1 MB, free: 35.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1953, allocations: 0 / 459.1 MB, free: 35.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.1956, allocations: 143.4 kB / 459.2 MB, free: 35.38 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.0004611/0.196, allocations: 0.8347 MB / 460.1 MB, free: 34.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.1963, allocations: 149.2 kB / 460.2 MB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1963, allocations: 0 / 460.2 MB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.1964, allocations: 50.98 kB / 460.3 MB, free: 34.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1967, allocations: 49.92 kB / 460.3 MB, free: 34.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1984, allocations: 2.513 MB / 462.8 MB, free: 32.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.1984, allocations: 102.6 kB / 462.9 MB, free: 32.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.1986, allocations: 71.7 kB / 463 MB, free: 32.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.1987, allocations: 61.36 kB / 463.1 MB, free: 32.58 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1987, allocations: 0 / 463.1 MB, free: 32.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.2168, allocations: 7.404 MB / 470.5 MB, free: 31.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/7.972, allocations: 7.125 kB / 470.5 MB, free: 31.05 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.93730799201876]