Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.0008738/0.0008738, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009211/0.0009211, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.9059/0.9059, 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.2315/0.2315, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.427e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.1759/0.1759, allocations: 4.974 MB / 447.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1773, allocations: 2.376 MB / 449.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.1774, allocations: 2.844 kB / 449.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.1776, allocations: 34.89 kB / 449.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.1795, allocations: 1.135 MB / 450.7 MB, free: 39.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1797, allocations: 152.7 kB / 450.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.18, allocations: 306.2 kB / 451.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.1801, allocations: 14.73 kB / 451.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006759/0.1807, allocations: 0.6992 MB / 451.9 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1809, allocations: 144.8 kB / 452 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1809, allocations: 5.844 kB / 452 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1821, allocations: 1.217 MB / 453.2 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.1822, allocations: 35.02 kB / 453.3 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.1823, allocations: 59.86 kB / 453.3 MB, free: 39.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007584/0.183, allocations: 0.596 MB / 453.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.183, allocations: 5.438 kB / 453.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.183, allocations: 0 / 453.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.183, allocations: 0 / 453.9 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.001073/0.1841, allocations: 0.4934 MB / 454.4 MB, free: 38.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.488e-05/0.1842, allocations: 8.719 kB / 454.4 MB, free: 38.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.1842, allocations: 54.42 kB / 454.5 MB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.1845, allocations: 48.31 kB / 454.5 MB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.1849, allocations: 148 kB / 454.7 MB, free: 38.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1849, allocations: 16.38 kB / 454.7 MB, free: 38.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1849, allocations: 12.66 kB / 454.7 MB, free: 38.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.1852, allocations: 324.5 kB / 455 MB, free: 38.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1853, allocations: 0 / 455 MB, free: 38.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.1853, allocations: 10.94 kB / 455 MB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1853, allocations: 6.125 kB / 455 MB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.1855, allocations: 239.6 kB / 455.3 MB, free: 37.98 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.0007279/0.1862, allocations: 1.038 MB / 456.3 MB, free: 37.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1864, allocations: 91.75 kB / 456.4 MB, free: 37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.1864, allocations: 32.97 kB / 456.4 MB, free: 36.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004697/0.1869, allocations: 456.6 kB / 456.9 MB, free: 36.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.1871, allocations: 192.7 kB / 457.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.1871, allocations: 0 / 457.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.000627/0.1877, allocations: 373.5 kB / 457.4 MB, free: 36.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1877, allocations: 267.9 kB / 457.7 MB, free: 36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.1878, allocations: 164.7 kB / 457.8 MB, free: 35.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1878, allocations: 28.52 kB / 457.9 MB, free: 35.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.1879, allocations: 140.7 kB / 458 MB, free: 35.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1879, allocations: 72.64 kB / 458.1 MB, free: 35.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.188, allocations: 66.81 kB / 458.1 MB, free: 35.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.188, allocations: 328.4 kB / 458.5 MB, free: 35.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.454e-05/0.1881, allocations: 44.73 kB / 458.5 MB, free: 35.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.611e-05/0.1882, allocations: 189.4 kB / 458.7 MB, free: 35.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1883, allocations: 248 kB / 458.9 MB, free: 34.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1883, allocations: 0 / 458.9 MB, free: 34.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002607/0.1886, allocations: 268.2 kB / 459.2 MB, free: 34.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1886, allocations: 9.688 kB / 459.2 MB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1886, allocations: 7.281 kB / 459.2 MB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1886, allocations: 9.703 kB / 459.2 MB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.1889, allocations: 93.62 kB / 459.3 MB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001906/0.1891, allocations: 0.5924 MB / 459.9 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.1892, allocations: 10.44 kB / 459.9 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.1892, allocations: 23.42 kB / 459.9 MB, free: 34.12 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 7.792e-05/0.1893, allocations: 139.2 kB / 460.1 MB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1893, allocations: 26.72 kB / 460.1 MB, free: 33.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.1896, allocations: 240.2 kB / 460.3 MB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1896, allocations: 2.578 kB / 460.3 MB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1896, allocations: 2.844 kB / 460.3 MB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1896, allocations: 0 / 460.3 MB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.1899, allocations: 327.8 kB / 460.7 MB, free: 33.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1899, allocations: 3.094 kB / 460.7 MB, free: 33.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.1901, allocations: 50.45 kB / 460.7 MB, free: 33.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1901, allocations: 3.375 kB / 460.7 MB, free: 33.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1901, allocations: 10.78 kB / 460.7 MB, free: 33.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001202/0.1902, allocations: 0.5858 MB / 461.3 MB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1902, allocations: 3.219 kB / 461.3 MB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.1903, allocations: 152.6 kB / 461.5 MB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.1904, allocations: 20.72 kB / 461.5 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1904, allocations: 10.77 kB / 461.5 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.1904, allocations: 10.5 kB / 461.5 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.1905, allocations: 9.75 kB / 461.5 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1905, allocations: 6.219 kB / 461.5 MB, free: 32.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.1905, allocations: 137.2 kB / 461.7 MB, free: 32.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1905, allocations: 0 / 461.7 MB, free: 32.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.1909, allocations: 137.7 kB / 461.8 MB, free: 32.64 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.0004814/0.1914, allocations: 0.8354 MB / 462.6 MB, free: 31.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.1917, allocations: 153.3 kB / 462.8 MB, free: 31.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1917, allocations: 64 / 462.8 MB, free: 31.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.1917, allocations: 50.72 kB / 462.8 MB, free: 31.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.192, allocations: 50.88 kB / 462.9 MB, free: 31.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.1938, allocations: 2.511 MB / 465.4 MB, free: 29.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.919e-05/0.1938, allocations: 100.6 kB / 465.5 MB, free: 29.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.194, allocations: 72.62 kB / 465.6 MB, free: 29.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.1941, allocations: 59.58 kB / 465.6 MB, free: 29.85 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1941, allocations: 0 / 465.6 MB, free: 29.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.2126, allocations: 7.413 MB / 473 MB, free: 28.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.924, allocations: 7.25 kB / 473 MB, free: 28.3 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.889122758992016]