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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09618, allocations: 62.45 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01048/0.1067, allocations: 8.41 MB / 489.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.1172, allocations: 11.13 MB / 0.4892 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.1173, allocations: 0 / 0.4892 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1175, allocations: 39.78 kB / 0.4893 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.1217, allocations: 1.799 MB / 0.491 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.452e-06/0.1217, allocations: 0 / 0.491 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.529e-05/0.1218, allocations: 47.67 kB / 0.4911 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.1219, allocations: 8 kB / 0.4911 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.122, allocations: 39.78 kB / 0.4911 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.122, allocations: 19.94 kB / 0.4912 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.1221, allocations: 0 / 0.4912 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008466/0.1305, allocations: 6.651 MB / 0.4976 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1306, allocations: 7.922 kB / 0.4977 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.1306, allocations: 15.94 kB / 0.4977 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008921/0.1395, allocations: 4.636 MB / 0.5022 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1396, allocations: 0 / 0.5022 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1396, allocations: 0 / 0.5022 GB, free: 3.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1396, allocations: 0 / 0.5022 GB, free: 3.641 MB / 382.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.002036/0.1416, allocations: 0.5615 MB / 0.5027 GB, free: 3.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1417, allocations: 8.031 kB / 0.5028 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1418, allocations: 15.98 kB / 0.5028 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1419, allocations: 167 kB / 0.5029 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1419, allocations: 4 kB / 0.5029 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1419, allocations: 3.984 kB / 0.5029 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1421, allocations: 81.66 kB / 0.503 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1421, allocations: 3.938 kB / 0.503 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1421, allocations: 0 / 0.503 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1421, allocations: 8 kB / 0.503 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.018e-05/0.1422, allocations: 71.95 kB / 0.5031 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.1426, allocations: 312.7 kB / 0.5034 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.1427, allocations: 50.5 kB / 0.5034 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1427, allocations: 32.92 kB / 0.5035 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003109/0.1458, allocations: 1.846 MB / 0.5053 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1459, allocations: 38.56 kB / 0.5053 GB, free: 28 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1459, allocations: 0 / 0.5053 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.1649/0.3108, allocations: 104.1 kB / 0.5054 GB, free: 40.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.3108, allocations: 56.81 kB / 0.5055 GB, free: 40.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.3109, allocations: 99.94 kB / 0.5056 GB, free: 40.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.3109, allocations: 29.17 kB / 0.5056 GB, free: 40.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.3109, allocations: 86.12 kB / 0.5057 GB, free: 40.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3109, allocations: 34.77 kB / 0.5057 GB, free: 40 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.311, allocations: 23.67 kB / 0.5057 GB, free: 39.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.626e-05/0.311, allocations: 319.7 kB / 0.506 GB, free: 39.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.3111, allocations: 18.12 kB / 0.506 GB, free: 39.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.707e-05/0.3111, allocations: 40.45 kB / 0.5061 GB, free: 39.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.497e-05/0.3112, allocations: 64.06 kB / 0.5061 GB, free: 39.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3112, allocations: 0 / 0.5061 GB, free: 39.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001599/0.3114, allocations: 102.1 kB / 0.5062 GB, free: 39.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3114, allocations: 4.938 kB / 0.5062 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3114, allocations: 2.875 kB / 0.5063 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3114, allocations: 0.9688 kB / 0.5063 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.3115, allocations: 8.578 kB / 0.5063 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3115, allocations: 4.672 kB / 0.5063 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.3115, allocations: 6.125 kB / 0.5063 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3116, allocations: 6.328 kB / 0.5063 GB, free: 39.61 MB / 382.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.111e-05/0.3116, allocations: 114.5 kB / 0.5064 GB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.3117, allocations: 13.78 kB / 0.5064 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.3119, allocations: 149.3 kB / 0.5065 GB, free: 39.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001285/0.3121, allocations: 118.7 kB / 0.5067 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3121, allocations: 0 / 0.5067 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3121, allocations: 0.7969 kB / 0.5067 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.3125, allocations: 428.7 kB / 0.5071 GB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3125, allocations: 0.8125 kB / 0.5071 GB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.3125, allocations: 21.33 kB / 0.5071 GB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3125, allocations: 2.359 kB / 0.5071 GB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3126, allocations: 4.031 kB / 0.5071 GB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3126, allocations: 0.6562 kB / 0.5071 GB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3126, allocations: 1.062 kB / 0.5071 GB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3127, allocations: 230.4 kB / 0.5073 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.3128, allocations: 85.06 kB / 0.5074 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3128, allocations: 6.156 kB / 0.5074 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.3129, allocations: 0 / 0.5074 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.3129, allocations: 11.3 kB / 0.5074 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3129, allocations: 7.25 kB / 0.5074 GB, free: 38.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.667e-05/0.3129, allocations: 79.02 kB / 0.5075 GB, free: 38.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3129, allocations: 0.75 kB / 0.5075 GB, free: 38.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001647/0.3146, allocations: 350.4 kB / 0.5078 GB, free: 38.77 MB / 382.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.01108/0.3257, allocations: 3.714 MB / 0.5115 GB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.326, allocations: 120.9 kB / 0.5116 GB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.326, allocations: 0.8125 kB / 0.5116 GB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.953e-05/0.3261, allocations: 50 kB / 0.5116 GB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3265, allocations: 41.45 kB / 0.5117 GB, free: 36.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.3269, allocations: 215.1 kB / 0.5119 GB, free: 36.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.3271, allocations: 0.6988 MB / 0.5125 GB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.3271, allocations: 17.81 kB / 0.5126 GB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.3272, allocations: 16.75 kB / 0.5126 GB, free: 36.13 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3272, allocations: 0.7812 kB / 0.5126 GB, free: 36.13 MB / 382.1 MB Notification: Performance of Templates: time 0.02291/0.3501, allocations: 18.16 MB / 0.5303 GB, free: 28.51 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches