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.001724/0.001724, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 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.001944/0.001944, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 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 1.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.2382/0.2382, allocations: 46.9 MB / 357.4 MB, free: 10.46 MB / 286.1 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 0.003098/0.003098, allocations: 83.86 kB / 0.4913 GB, free: 8.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1779, allocations: 65.98 MB / 0.5557 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008538/0.1864, allocations: 5.338 MB / 0.5609 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003475/0.1899, allocations: 2.663 MB / 0.5635 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.19, allocations: 4 kB / 0.5635 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.1903, allocations: 39.69 kB / 0.5636 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.1932, allocations: 1.108 MB / 0.5647 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.1936, allocations: 156.2 kB / 0.5648 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00044/0.194, allocations: 298.5 kB / 0.5651 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.194, allocations: 13.56 kB / 0.5651 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.1952, allocations: 0.7327 MB / 0.5658 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.1955, allocations: 155.5 kB / 0.566 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1955, allocations: 8 kB / 0.566 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.1977, allocations: 1.349 MB / 0.5673 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.1977, allocations: 35.83 kB / 0.5673 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1978, allocations: 79.66 kB / 0.5674 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009553/0.1988, allocations: 0.5414 MB / 0.5679 GB, free: 9.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1988, allocations: 0 / 0.5679 GB, free: 9.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1988, allocations: 4 kB / 0.5679 GB, free: 9.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1988, allocations: 0 / 0.5679 GB, free: 9.559 MB / 430.1 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.00104/0.1999, allocations: 0.576 MB / 0.5685 GB, free: 8.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1999, allocations: 8.031 kB / 0.5685 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.014e-05/0.2, allocations: 54.73 kB / 0.5686 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.2004, allocations: 40.81 kB / 0.5686 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.2008, allocations: 216.1 kB / 0.5688 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2008, allocations: 16.12 kB / 0.5688 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.2009, allocations: 16 kB / 0.5688 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.2013, allocations: 240.7 kB / 0.5691 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2013, allocations: 3.938 kB / 0.5691 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.2013, allocations: 12 kB / 0.5691 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2014, allocations: 4 kB / 0.5691 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.2017, allocations: 232.6 kB / 0.5693 GB, free: 8.027 MB / 430.1 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.001607/0.2033, allocations: 1.372 MB / 0.5706 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.2036, allocations: 78.61 kB / 0.5707 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.2036, allocations: 32.84 kB / 0.5707 GB, free: 6.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/0.2056, allocations: 2.059 MB / 0.5728 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.2059, allocations: 169.3 kB / 0.5729 GB, free: 3.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 2.083e-06/0.2059, allocations: 0 / 0.5729 GB, free: 3.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001005/0.2069, allocations: 369.6 kB / 0.5733 GB, free: 3.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.2071, allocations: 265.2 kB / 0.5735 GB, free: 3.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.2073, allocations: 149.8 kB / 0.5737 GB, free: 2.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.2073, allocations: 33.7 kB / 0.5737 GB, free: 2.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2074, allocations: 140.1 kB / 0.5738 GB, free: 2.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.2075, allocations: 79.34 kB / 0.5739 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.2075, allocations: 65.73 kB / 0.574 GB, free: 2.543 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2077, allocations: 326.8 kB / 0.5743 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.2078, allocations: 47.92 kB / 0.5743 GB, free: 2.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.208, allocations: 186.5 kB / 0.5745 GB, free: 1.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.2084, allocations: 256.9 kB / 0.5748 GB, free: 1.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2084, allocations: 4 kB / 0.5748 GB, free: 1.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004382/0.2088, allocations: 253.8 kB / 0.575 GB, free: 1.344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2088, allocations: 12.03 kB / 0.575 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2089, allocations: 4 kB / 0.575 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2089, allocations: 8 kB / 0.575 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.2093, allocations: 103.8 kB / 0.5751 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004301/0.2098, allocations: 0.6014 MB / 0.5757 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.2099, allocations: 12 kB / 0.5757 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.2099, allocations: 24.09 kB / 0.5757 GB, free: 0.5586 MB / 430.1 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 0.0001662/0.2101, allocations: 137.7 kB / 0.5759 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.2102, allocations: 19.91 kB / 0.5759 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.2106, allocations: 219.9 kB / 0.5761 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2106, allocations: 4.062 kB / 0.5761 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2106, allocations: 7.938 kB / 0.5761 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2106, allocations: 3.984 kB / 0.5761 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.2111, allocations: 440.8 kB / 0.5765 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2111, allocations: 0 / 0.5765 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.2115, allocations: 59.89 kB / 0.5766 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2115, allocations: 3.938 kB / 0.5766 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2115, allocations: 4 kB / 0.5766 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003743/0.2119, allocations: 0.5861 MB / 0.5772 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2119, allocations: 0 / 0.5772 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.2121, allocations: 150.5 kB / 0.5773 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.2122, allocations: 97.12 kB / 0.5774 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.2122, allocations: 15.94 kB / 0.5774 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.2124, allocations: 12.09 kB / 0.5774 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.2124, allocations: 11.92 kB / 0.5774 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.2124, allocations: 4 kB / 0.5775 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.2125, allocations: 131.2 kB / 0.5776 GB, free: 14.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2125, allocations: 0 / 0.5776 GB, free: 14.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005088/0.213, allocations: 143.6 kB / 0.5777 GB, free: 14.36 MB / 446.1 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.001022/0.2141, allocations: 0.8343 MB / 0.5785 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.2145, allocations: 152.1 kB / 0.5787 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2145, allocations: 4 kB / 0.5787 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.2147, allocations: 47.91 kB / 0.5787 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.2151, allocations: 60.44 kB / 0.5788 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.2185, allocations: 2.518 MB / 0.5812 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.2188, allocations: 0.7168 MB / 0.5819 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.2191, allocations: 73.72 kB / 0.582 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2192, allocations: 63.39 kB / 0.5821 GB, free: 9.625 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2192, allocations: 0 / 0.5821 GB, free: 9.625 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.2506, allocations: 6.625 MB / 0.5885 GB, free: 3.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.12, allocations: 14.55 kB / 0.5886 GB, free: 3.168 MB / 446.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.536748211830854]