Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008987/0.0008987, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009664/0.0009664, allocations: 174 kB / 23.95 MB, free: 0.6133 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.8881/0.8881, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2492/0.2492, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.202e-06/6.202e-06, allocations: 4 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.607e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.1858/0.1858, allocations: 4.976 MB / 447.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1874, allocations: 2.366 MB / 449.5 MB, free: 40.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.1875, allocations: 2.906 kB / 449.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1878, allocations: 49.27 kB / 449.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.1897, allocations: 1.127 MB / 450.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1899, allocations: 157.6 kB / 450.9 MB, free: 39.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.1903, allocations: 297.6 kB / 451.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.1903, allocations: 7.5 kB / 451.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007619/0.1911, allocations: 0.7099 MB / 451.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1913, allocations: 146.6 kB / 452 MB, free: 39.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1913, allocations: 5.812 kB / 452 MB, free: 39.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1925, allocations: 1.208 MB / 453.2 MB, free: 39.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.1925, allocations: 35.36 kB / 453.3 MB, free: 39.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.1926, allocations: 60.33 kB / 453.3 MB, free: 39.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.1932, allocations: 0.5952 MB / 453.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1932, allocations: 0 / 453.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1932, allocations: 0 / 453.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1932, allocations: 0 / 453.9 MB, free: 39.02 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.000676/0.1939, allocations: 0.4982 MB / 454.4 MB, free: 38.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1939, allocations: 9.062 kB / 454.4 MB, free: 38.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.194, allocations: 57.66 kB / 454.5 MB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.1942, allocations: 45.2 kB / 454.5 MB, free: 38.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1945, allocations: 148.2 kB / 454.7 MB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1945, allocations: 16.94 kB / 454.7 MB, free: 38.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1945, allocations: 19.91 kB / 454.7 MB, free: 38.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.1947, allocations: 320.7 kB / 455 MB, free: 38.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1948, allocations: 7.938 kB / 455 MB, free: 38.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1948, allocations: 10.91 kB / 455.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.1948, allocations: 5.781 kB / 455.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.195, allocations: 230.3 kB / 455.3 MB, free: 38.11 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.0007362/0.1957, allocations: 1.051 MB / 456.3 MB, free: 37.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1959, allocations: 83.75 kB / 456.4 MB, free: 37.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.1959, allocations: 40.22 kB / 456.5 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004953/0.1964, allocations: 456.6 kB / 456.9 MB, free: 36.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.1966, allocations: 187.8 kB / 457.1 MB, free: 36.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.1966, allocations: 2.719 kB / 457.1 MB, free: 36.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006159/0.1972, allocations: 366.5 kB / 457.4 MB, free: 36.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1972, allocations: 267.1 kB / 457.7 MB, free: 36.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.1973, allocations: 158.2 kB / 457.9 MB, free: 36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1973, allocations: 32.23 kB / 457.9 MB, free: 35.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.1974, allocations: 143.6 kB / 458 MB, free: 35.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1974, allocations: 78.69 kB / 458.1 MB, free: 35.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.1975, allocations: 63.36 kB / 458.2 MB, free: 35.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.15e-05/0.1975, allocations: 321.1 kB / 458.5 MB, free: 35.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.1975, allocations: 44.67 kB / 458.5 MB, free: 35.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-05/0.1976, allocations: 184.2 kB / 458.7 MB, free: 35.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1978, allocations: 255.7 kB / 459 MB, free: 34.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1978, allocations: 0 / 459 MB, free: 34.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002358/0.198, allocations: 265.4 kB / 459.2 MB, free: 34.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.198, allocations: 6.375 kB / 459.2 MB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.198, allocations: 14.16 kB / 459.2 MB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.198, allocations: 6.094 kB / 459.2 MB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1983, allocations: 98.5 kB / 459.3 MB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001446/0.1984, allocations: 0.5923 MB / 459.9 MB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.1985, allocations: 13.55 kB / 459.9 MB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1985, allocations: 23.91 kB / 460 MB, free: 34.24 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.315e-05/0.1986, allocations: 139.4 kB / 460.1 MB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1986, allocations: 20.42 kB / 460.1 MB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.1989, allocations: 231.3 kB / 460.4 MB, free: 33.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1989, allocations: 3.219 kB / 460.4 MB, free: 33.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1989, allocations: 4.062 kB / 460.4 MB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1989, allocations: 3.188 kB / 460.4 MB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1991, allocations: 337.8 kB / 460.7 MB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1991, allocations: 3.219 kB / 460.7 MB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.1992, allocations: 52.22 kB / 460.7 MB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1992, allocations: 3.219 kB / 460.7 MB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1993, allocations: 3.125 kB / 460.8 MB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001026/0.1994, allocations: 0.589 MB / 461.3 MB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1994, allocations: 128 / 461.3 MB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.1995, allocations: 156.3 kB / 461.5 MB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.1995, allocations: 17.36 kB / 461.5 MB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1995, allocations: 14.3 kB / 461.5 MB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.1996, allocations: 11.19 kB / 461.5 MB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.1996, allocations: 13.03 kB / 461.5 MB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1996, allocations: 7.062 kB / 461.6 MB, free: 32.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.336e-05/0.1997, allocations: 129.6 kB / 461.7 MB, free: 32.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1997, allocations: 0 / 461.7 MB, free: 32.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.2, allocations: 138.8 kB / 461.8 MB, free: 32.76 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.0004941/0.2005, allocations: 0.8378 MB / 462.7 MB, free: 32.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.2008, allocations: 151.5 kB / 462.8 MB, free: 32.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2008, allocations: 0 / 462.8 MB, free: 32.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.2009, allocations: 46.19 kB / 462.8 MB, free: 32.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.2011, allocations: 65.08 kB / 462.9 MB, free: 32.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.2028, allocations: 2.496 MB / 465.4 MB, free: 30.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.2029, allocations: 108.8 kB / 465.5 MB, free: 30.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.2031, allocations: 76.78 kB / 465.6 MB, free: 29.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.2031, allocations: 59.69 kB / 465.6 MB, free: 29.95 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2031, allocations: 0 / 465.6 MB, free: 29.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.2222, allocations: 7.403 MB / 473 MB, free: 28.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.023, allocations: 13.11 kB / 473.1 MB, free: 28.42 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.016195970587432]