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.002092/0.002092, allocations: 109 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002937/0.002936, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.389/2.389, allocations: 227.4 MB / 246.9 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3664/0.3664, allocations: 46.1 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001937, allocations: 80.03 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1907, allocations: 62.44 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01615/0.207, allocations: 8.334 MB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.2258, allocations: 11.5 MB / 499.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.226, allocations: 0 / 499.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.2264, allocations: 35.86 kB / 499.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009045/0.2354, allocations: 1.477 MB / 0.4895 GB, free: 284 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.779e-05/0.2355, allocations: 0 / 0.4895 GB, free: 284 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.2356, allocations: 43.69 kB / 0.4896 GB, free: 240 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.461e-05/0.2357, allocations: 4 kB / 0.4896 GB, free: 236 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.236, allocations: 31.8 kB / 0.4896 GB, free: 204 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.2361, allocations: 27.91 kB / 0.4896 GB, free: 176 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2361, allocations: 0 / 0.4896 GB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03015/0.2663, allocations: 14.39 MB / 0.5037 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.2664, allocations: 7.938 kB / 0.5037 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.2665, allocations: 19.92 kB / 0.5037 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4192/0.6857, allocations: 4.296 MB / 0.5079 GB, free: 21.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.6858, allocations: 0 / 0.5079 GB, free: 21.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.96e-06/0.6859, allocations: 0 / 0.5079 GB, free: 21.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.6859, allocations: 1.156 kB / 0.5079 GB, free: 21.56 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.01047/0.6964, allocations: 0.5639 MB / 0.5085 GB, free: 21.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.146e-05/0.6965, allocations: 10.31 kB / 0.5085 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.6967, allocations: 14.81 kB / 0.5085 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.6969, allocations: 164.8 kB / 0.5086 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.6969, allocations: 4.781 kB / 0.5086 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.6969, allocations: 2.344 kB / 0.5086 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.6972, allocations: 84.61 kB / 0.5087 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.6972, allocations: 4.094 kB / 0.5087 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.6973, allocations: 0 / 0.5087 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.6973, allocations: 1.828 kB / 0.5087 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.6975, allocations: 73.91 kB / 0.5088 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/0.6982, allocations: 317.3 kB / 0.5091 GB, free: 20.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.6983, allocations: 48.67 kB / 0.5092 GB, free: 20.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/0.6984, allocations: 33.48 kB / 0.5092 GB, free: 20.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005848/0.7043, allocations: 1.85 MB / 0.511 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.7044, allocations: 32.33 kB / 0.511 GB, free: 19.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 4.409e-06/0.7044, allocations: 0 / 0.511 GB, free: 19.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005888/0.705, allocations: 111.9 kB / 0.5111 GB, free: 19.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.7051, allocations: 55.31 kB / 0.5112 GB, free: 19.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.7052, allocations: 100.2 kB / 0.5113 GB, free: 19.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.7052, allocations: 25.7 kB / 0.5113 GB, free: 19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.7053, allocations: 82 kB / 0.5114 GB, free: 18.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.7054, allocations: 30.5 kB / 0.5114 GB, free: 18.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.7054, allocations: 29.67 kB / 0.5114 GB, free: 18.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.7055, allocations: 321.5 kB / 0.5117 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.7056, allocations: 19.39 kB / 0.5118 GB, free: 18.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.7057, allocations: 38.38 kB / 0.5118 GB, free: 18.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.7059, allocations: 66.27 kB / 0.5119 GB, free: 18.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7059, allocations: 3.594 kB / 0.5119 GB, free: 18.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002676/0.7062, allocations: 94.94 kB / 0.512 GB, free: 18.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.7063, allocations: 11.58 kB / 0.512 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.7063, allocations: 3.938 kB / 0.512 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.7063, allocations: 2.25 kB / 0.512 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.7064, allocations: 8.219 kB / 0.512 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7064, allocations: 1.719 kB / 0.512 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.7065, allocations: 2.594 kB / 0.512 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.7065, allocations: 2.906 kB / 0.512 GB, free: 18.5 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 9.172e-05/0.7066, allocations: 120.3 kB / 0.5121 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.7067, allocations: 8.875 kB / 0.5121 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.7071, allocations: 153 kB / 0.5123 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002439/0.7074, allocations: 116.7 kB / 0.5124 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.7074, allocations: 3.375 kB / 0.5124 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.7074, allocations: 4.266 kB / 0.5124 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007612/0.7082, allocations: 444.1 kB / 0.5128 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7082, allocations: 0 / 0.5128 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.7083, allocations: 14.72 kB / 0.5128 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.7084, allocations: 1.375 kB / 0.5128 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.7084, allocations: 1.188 kB / 0.5128 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7084, allocations: 4.719 kB / 0.5128 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7084, allocations: 0 / 0.5128 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.7088, allocations: 225.4 kB / 0.513 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.7088, allocations: 79.45 kB / 0.5131 GB, free: 17.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.7089, allocations: 1.375 kB / 0.5131 GB, free: 17.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.709, allocations: 4.656 kB / 0.5131 GB, free: 17.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.709, allocations: 7.484 kB / 0.5131 GB, free: 17.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.7091, allocations: 3.562 kB / 0.5131 GB, free: 17.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.744e-05/0.7091, allocations: 82.22 kB / 0.5132 GB, free: 17.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7091, allocations: 1.641 kB / 0.5132 GB, free: 17.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007368/0.7165, allocations: 354.2 kB / 0.5135 GB, free: 17.63 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.04437/0.7609, allocations: 3.717 MB / 0.5172 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004841/0.7615, allocations: 119 kB / 0.5173 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7615, allocations: 0.875 kB / 0.5173 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.7616, allocations: 58.61 kB / 0.5173 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/0.7625, allocations: 40.55 kB / 0.5174 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.7632, allocations: 263.7 kB / 0.5176 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.7634, allocations: 0.6931 MB / 0.5183 GB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.7635, allocations: 20.09 kB / 0.5183 GB, free: 14.89 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7635, allocations: 0 / 0.5183 GB, free: 14.89 MB / 382.1 MB Notification: Performance of Templates: time 0.05961/0.8231, allocations: 19.4 MB / 0.5373 GB, free: 8.746 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 -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