Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001777/0.001777, 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.002237/0.002237, 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.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2295/0.2295, allocations: 46.9 MB / 357.4 MB, free: 10.5 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.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 75.88 kB / 0.4912 GB, free: 8.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.121, allocations: 66 MB / 0.5557 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01164/0.1326, allocations: 8.444 MB / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.1452, allocations: 11.18 MB / 0.5748 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.1453, allocations: 0 / 0.5748 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.1455, allocations: 39.81 kB / 0.5749 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.1506, allocations: 1.826 MB / 0.5767 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.114e-06/0.1506, allocations: 0 / 0.5767 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1508, allocations: 47.67 kB / 0.5767 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.1508, allocations: 4 kB / 0.5767 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.151, allocations: 35.84 kB / 0.5767 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.396e-05/0.151, allocations: 19.88 kB / 0.5768 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.151, allocations: 4 kB / 0.5768 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009909/0.1609, allocations: 6.686 MB / 0.5833 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.1609, allocations: 7.984 kB / 0.5833 GB, free: 9.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.161, allocations: 15.88 kB / 0.5833 GB, free: 9.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.1718, allocations: 4.639 MB / 0.5879 GB, free: 5.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1718, allocations: 0 / 0.5879 GB, free: 5.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1719, allocations: 0 / 0.5879 GB, free: 5.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.1719, allocations: 4 kB / 0.5879 GB, free: 5.195 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.002177/0.174, allocations: 0.575 MB / 0.5884 GB, free: 4.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1741, allocations: 12.02 kB / 0.5884 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.1741, allocations: 38.56 kB / 0.5885 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1742, allocations: 7.938 kB / 0.5885 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1744, allocations: 175 kB / 0.5886 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1744, allocations: 4 kB / 0.5886 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1744, allocations: 7.938 kB / 0.5887 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1746, allocations: 85.59 kB / 0.5887 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1746, allocations: 0 / 0.5887 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.1746, allocations: 0 / 0.5887 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1746, allocations: 4 kB / 0.5887 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1747, allocations: 71.97 kB / 0.5888 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.1751, allocations: 312.8 kB / 0.5891 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.1752, allocations: 38.5 kB / 0.5891 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.1753, allocations: 32.92 kB / 0.5892 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003433/0.1787, allocations: 1.85 MB / 0.591 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.1787, allocations: 34.55 kB / 0.591 GB, free: 1.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1787, allocations: 0 / 0.591 GB, free: 1.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002771/0.179, allocations: 109.7 kB / 0.5911 GB, free: 1.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.179, allocations: 55.41 kB / 0.5912 GB, free: 1.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.1791, allocations: 101.8 kB / 0.5913 GB, free: 1.238 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1791, allocations: 25.7 kB / 0.5913 GB, free: 1.207 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1792, allocations: 92.03 kB / 0.5914 GB, free: 1.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1792, allocations: 35.72 kB / 0.5914 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.1793, allocations: 17.72 kB / 0.5914 GB, free: 1.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1794, allocations: 322.8 kB / 0.5917 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.1795, allocations: 19.98 kB / 0.5918 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.353e-05/0.1795, allocations: 41.7 kB / 0.5918 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.1796, allocations: 61.66 kB / 0.5919 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1796, allocations: 0 / 0.5919 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001707/0.1798, allocations: 97.58 kB / 0.5919 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1798, allocations: 10.17 kB / 0.592 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1798, allocations: 4 kB / 0.592 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1798, allocations: 0 / 0.592 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.1799, allocations: 12.03 kB / 0.592 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1799, allocations: 0 / 0.592 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.1799, allocations: 384 / 0.592 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1799, allocations: 4 kB / 0.592 GB, free: 480 kB / 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 9.277e-05/0.18, allocations: 121.7 kB / 0.5921 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.18, allocations: 3.953 kB / 0.5921 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.1803, allocations: 151.9 kB / 0.5922 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001554/0.1804, allocations: 121.6 kB / 0.5924 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1805, allocations: 4 kB / 0.5924 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1805, allocations: 3.938 kB / 0.5924 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2408/0.4213, allocations: 428.8 kB / 0.5928 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.4213, allocations: 2.328 kB / 0.5928 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.4214, allocations: 17.42 kB / 0.5928 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4214, allocations: 0 / 0.5928 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4214, allocations: 4.641 kB / 0.5928 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4214, allocations: 1.281 kB / 0.5928 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4214, allocations: 0 / 0.5928 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.4216, allocations: 228 kB / 0.593 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.4216, allocations: 83.58 kB / 0.5931 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.4216, allocations: 1.719 kB / 0.5931 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.4217, allocations: 5.469 kB / 0.5931 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.4217, allocations: 10.62 kB / 0.5931 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4217, allocations: 2.234 kB / 0.5931 GB, free: 33.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.193e-05/0.4217, allocations: 78.92 kB / 0.5932 GB, free: 33.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4217, allocations: 0 / 0.5932 GB, free: 33.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001794/0.4235, allocations: 361.3 kB / 0.5935 GB, free: 33.53 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.01158/0.4351, allocations: 4.38 MB / 0.5978 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.4354, allocations: 111.5 kB / 0.5979 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.4354, allocations: 0 / 0.5979 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.4355, allocations: 45.56 kB / 0.598 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.436, allocations: 40.2 kB / 0.598 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.4375, allocations: 411.1 kB / 0.5984 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.4376, allocations: 0.6919 MB / 0.5991 GB, free: 30.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.4376, allocations: 18.03 kB / 0.5991 GB, free: 30.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.4377, allocations: 26.84 kB / 0.5991 GB, free: 30.22 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4377, allocations: 0.7188 kB / 0.5991 GB, free: 30.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05156/0.4893, allocations: 19.96 MB / 0.6186 GB, free: 24.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.117/9.607, allocations: 3.938 kB / 0.6186 GB, free: 24.29 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.06018692208454]