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.001111/0.001111, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, 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.2035/0.2035, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 74.64 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1234, allocations: 62.45 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01189/0.1353, allocations: 8.398 MB / 489.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.1476, allocations: 11.13 MB / 0.4892 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.1477, allocations: 0 / 0.4892 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.148, allocations: 47.72 kB / 0.4893 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005208/0.1532, allocations: 1.797 MB / 0.491 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.225e-06/0.1532, allocations: 0 / 0.491 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1533, allocations: 47.67 kB / 0.4911 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.1534, allocations: 8 kB / 0.4911 GB, free: 15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.1536, allocations: 39.84 kB / 0.4911 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.265e-05/0.1537, allocations: 11.94 kB / 0.4911 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1537, allocations: 4 kB / 0.4911 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009282/0.163, allocations: 6.651 MB / 0.4976 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.163, allocations: 7.922 kB / 0.4976 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.1631, allocations: 23.88 kB / 0.4977 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009459/0.1725, allocations: 4.628 MB / 0.5022 GB, free: 3.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1726, allocations: 0 / 0.5022 GB, free: 3.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1726, allocations: 0 / 0.5022 GB, free: 3.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1726, allocations: 4 kB / 0.5022 GB, free: 3.617 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.002236/0.1748, allocations: 0.5615 MB / 0.5027 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1749, allocations: 8.031 kB / 0.5027 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.175, allocations: 15.92 kB / 0.5028 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1752, allocations: 167 kB / 0.5029 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1752, allocations: 4 kB / 0.5029 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1752, allocations: 4 kB / 0.5029 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1754, allocations: 77.66 kB / 0.503 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1754, allocations: 3.938 kB / 0.503 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1755, allocations: 11.98 kB / 0.503 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1755, allocations: 0 / 0.503 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1756, allocations: 83.88 kB / 0.5031 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.176, allocations: 316.7 kB / 0.5034 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.289e-05/0.1761, allocations: 42.58 kB / 0.5034 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.1762, allocations: 32.91 kB / 0.5035 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003499/0.1797, allocations: 1.842 MB / 0.5053 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1797, allocations: 30.56 kB / 0.5053 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/0.1798, allocations: 96 / 0.5053 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.2209/0.4007, allocations: 114 kB / 0.5054 GB, free: 40.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.4008, allocations: 55.28 kB / 0.5055 GB, free: 40.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.4009, allocations: 101.8 kB / 0.5056 GB, free: 40.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.4009, allocations: 26.98 kB / 0.5056 GB, free: 40.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.4009, allocations: 90.45 kB / 0.5057 GB, free: 40.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.4009, allocations: 30.8 kB / 0.5057 GB, free: 40.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.401, allocations: 26.02 kB / 0.5057 GB, free: 40.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.4011, allocations: 319.1 kB / 0.506 GB, free: 39.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.4011, allocations: 19.2 kB / 0.5061 GB, free: 39.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.4012, allocations: 37.75 kB / 0.5061 GB, free: 39.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.4013, allocations: 69.25 kB / 0.5062 GB, free: 39.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4013, allocations: 1.031 kB / 0.5062 GB, free: 39.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001722/0.4015, allocations: 98.67 kB / 0.5062 GB, free: 39.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4015, allocations: 8.078 kB / 0.5063 GB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4015, allocations: 0 / 0.5063 GB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4016, allocations: 2.016 kB / 0.5063 GB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.4017, allocations: 8.578 kB / 0.5063 GB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4017, allocations: 4.719 kB / 0.5063 GB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.4017, allocations: 4.094 kB / 0.5063 GB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.4017, allocations: 2.844 kB / 0.5063 GB, free: 39.74 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 6.856e-05/0.4018, allocations: 113.5 kB / 0.5064 GB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.4019, allocations: 11.17 kB / 0.5064 GB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.4022, allocations: 152.8 kB / 0.5065 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001501/0.4023, allocations: 117 kB / 0.5067 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4023, allocations: 0.5156 kB / 0.5067 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4023, allocations: 0.5625 kB / 0.5067 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.4028, allocations: 428.5 kB / 0.5071 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4028, allocations: 2.641 kB / 0.5071 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.4029, allocations: 13.88 kB / 0.5071 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4029, allocations: 2.547 kB / 0.5071 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4029, allocations: 4.531 kB / 0.5071 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4029, allocations: 3.938 kB / 0.5071 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4029, allocations: 3.5 kB / 0.5071 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.4031, allocations: 226.4 kB / 0.5073 GB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.4032, allocations: 85.62 kB / 0.5074 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.4032, allocations: 3.25 kB / 0.5074 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-05/0.4032, allocations: 5.266 kB / 0.5074 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.4033, allocations: 5.406 kB / 0.5074 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.4033, allocations: 6.938 kB / 0.5074 GB, free: 38.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.241e-05/0.4033, allocations: 83.08 kB / 0.5075 GB, free: 38.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4033, allocations: 3.469 kB / 0.5075 GB, free: 38.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002224/0.4055, allocations: 345.8 kB / 0.5078 GB, free: 38.91 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.01189/0.4174, allocations: 3.723 MB / 0.5115 GB, free: 37.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.4178, allocations: 115.2 kB / 0.5116 GB, free: 37.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4178, allocations: 0 / 0.5116 GB, free: 37.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.4179, allocations: 55.11 kB / 0.5116 GB, free: 37.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.4184, allocations: 43.2 kB / 0.5117 GB, free: 37.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.4189, allocations: 212.2 kB / 0.5119 GB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.4191, allocations: 0.6951 MB / 0.5125 GB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.22e-05/0.4191, allocations: 16.89 kB / 0.5126 GB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.4192, allocations: 15.33 kB / 0.5126 GB, free: 36.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4192, allocations: 0 / 0.5126 GB, free: 36.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02558/0.4448, allocations: 18.17 MB / 0.5303 GB, free: 28.59 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 cvode -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