Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001525/0.001525, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001544/0.001544, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.498/1.498, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2249/0.2249, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 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.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.91 kB / 0.4909 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1257, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01205/0.1377, allocations: 8.445 MB / 0.5636 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.1511, allocations: 11.22 MB / 0.5746 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.1512, allocations: 0 / 0.5746 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1514, allocations: 35.8 kB / 0.5746 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005192/0.1565, allocations: 1.851 MB / 0.5764 GB, free: 204 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.145e-06/0.1566, allocations: 0 / 0.5764 GB, free: 204 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.1567, allocations: 55.55 kB / 0.5765 GB, free: 148 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.1567, allocations: 0 / 0.5765 GB, free: 148 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1568, allocations: 35.84 kB / 0.5765 GB, free: 112 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.1569, allocations: 11.94 kB / 0.5765 GB, free: 100 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.1569, allocations: 4 kB / 0.5765 GB, free: 96 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.1674, allocations: 6.725 MB / 0.5831 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.1674, allocations: 0 / 0.5831 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.1675, allocations: 23.81 kB / 0.5831 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.1812, allocations: 5.096 MB / 0.5881 GB, free: 4.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.1812, allocations: 4 kB / 0.5881 GB, free: 4.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1812, allocations: 0 / 0.5881 GB, free: 4.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.1812, allocations: 0 / 0.5881 GB, free: 4.227 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003701/0.1849, allocations: 0.5828 MB / 0.5887 GB, free: 3.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1849, allocations: 8.031 kB / 0.5887 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.185, allocations: 38.56 kB / 0.5887 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1851, allocations: 11.98 kB / 0.5887 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1852, allocations: 171 kB / 0.5889 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1853, allocations: 0 / 0.5889 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1853, allocations: 8 kB / 0.5889 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1854, allocations: 81.61 kB / 0.589 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1855, allocations: 0 / 0.589 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1855, allocations: 4 kB / 0.589 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1855, allocations: 4 kB / 0.589 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1856, allocations: 79.89 kB / 0.5891 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.1861, allocations: 324.7 kB / 0.5894 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.1862, allocations: 30.58 kB / 0.5894 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.1863, allocations: 28.91 kB / 0.5894 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003605/0.1899, allocations: 1.85 MB / 0.5912 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1899, allocations: 30.56 kB / 0.5913 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1899, allocations: 0 / 0.5913 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003182/0.1902, allocations: 109.7 kB / 0.5914 GB, free: 452 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.1903, allocations: 55.41 kB / 0.5914 GB, free: 384 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1904, allocations: 97.86 kB / 0.5915 GB, free: 276 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1904, allocations: 25.7 kB / 0.5915 GB, free: 244 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.1905, allocations: 92.03 kB / 0.5916 GB, free: 148 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1905, allocations: 35.67 kB / 0.5917 GB, free: 112 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1905, allocations: 21.7 kB / 0.5917 GB, free: 84 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2486/0.4392, allocations: 322 kB / 0.592 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-05/0.4392, allocations: 12.16 kB / 0.592 GB, free: 33.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.956e-05/0.4393, allocations: 39.94 kB / 0.592 GB, free: 33.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.576e-05/0.4394, allocations: 61.95 kB / 0.5921 GB, free: 33.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4394, allocations: 3.438 kB / 0.5921 GB, free: 33.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.4396, allocations: 98.94 kB / 0.5922 GB, free: 33.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4396, allocations: 6.656 kB / 0.5922 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4396, allocations: 0 / 0.5922 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4396, allocations: 0.8438 kB / 0.5922 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.4397, allocations: 14.56 kB / 0.5922 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4397, allocations: 3.75 kB / 0.5922 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.4397, allocations: 4.906 kB / 0.5922 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.4398, allocations: 2.469 kB / 0.5922 GB, free: 33.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.4398, allocations: 120.1 kB / 0.5923 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.4399, allocations: 7.891 kB / 0.5923 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.4401, allocations: 147.7 kB / 0.5925 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001104/0.4402, allocations: 115.5 kB / 0.5926 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4402, allocations: 8.438 kB / 0.5926 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4402, allocations: 0.9844 kB / 0.5926 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.4406, allocations: 435.2 kB / 0.593 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.4406, allocations: 0 / 0.593 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.4406, allocations: 16.27 kB / 0.593 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4406, allocations: 1.406 kB / 0.593 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.4407, allocations: 2.766 kB / 0.593 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4407, allocations: 3.688 kB / 0.593 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4407, allocations: 2.672 kB / 0.593 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.4408, allocations: 226.3 kB / 0.5933 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.4408, allocations: 83.92 kB / 0.5933 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.4409, allocations: 3.328 kB / 0.5933 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.4409, allocations: 6.188 kB / 0.5933 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.4409, allocations: 6.312 kB / 0.5934 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.4409, allocations: 5.281 kB / 0.5934 GB, free: 32.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.171e-05/0.441, allocations: 80.17 kB / 0.5934 GB, free: 32.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.441, allocations: 2.625 kB / 0.5934 GB, free: 32.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002126/0.4431, allocations: 363.2 kB / 0.5938 GB, free: 32.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01253/0.4556, allocations: 4.748 MB / 0.5984 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.4559, allocations: 107.4 kB / 0.5985 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4559, allocations: 0 / 0.5985 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.456, allocations: 46.02 kB / 0.5986 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.4564, allocations: 41.73 kB / 0.5986 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.4582, allocations: 408.5 kB / 0.599 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.4583, allocations: 0.6922 MB / 0.5997 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.445e-05/0.4584, allocations: 20.92 kB / 0.5997 GB, free: 28.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.4584, allocations: 26.83 kB / 0.5997 GB, free: 28.84 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4584, allocations: 0 / 0.5997 GB, free: 28.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.5618, allocations: 20.08 MB / 0.6193 GB, free: 22.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.25/9.812, allocations: 13.09 kB / 0.6193 GB, free: 22.49 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.286058259895071]