Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 189.4 kB / 18.9 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 242.6 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2025/0.2025, allocations: 44.17 MB / 336.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.8 kB / 408.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 60.83 MB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01098/0.1259, allocations: 8.335 MB / 477.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.1371, allocations: 11.03 MB / 488.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.1372, allocations: 3.938 kB / 488.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1374, allocations: 35.81 kB / 488.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.142, allocations: 1.57 MB / 490.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.715e-06/0.142, allocations: 0 / 490.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.603e-05/0.1421, allocations: 51.67 kB / 490.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.1422, allocations: 11.92 kB / 490.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1423, allocations: 19.92 kB / 490.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.1424, allocations: 15.94 kB / 490.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.104e-06/0.1424, allocations: 0 / 490.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01716/0.1595, allocations: 14.57 MB / 0.4932 GB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.1596, allocations: 15.92 kB / 0.4932 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.1597, allocations: 11.94 kB / 0.4932 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009145/0.1688, allocations: 4.285 MB / 0.4974 GB, free: 6.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.1689, allocations: 0 / 0.4974 GB, free: 6.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1689, allocations: 4 kB / 0.4974 GB, free: 6.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.1689, allocations: 0 / 0.4974 GB, free: 6.68 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.00289/0.1718, allocations: 0.5537 MB / 0.4979 GB, free: 6.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1719, allocations: 8.031 kB / 0.4979 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.172, allocations: 19.83 kB / 0.498 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1721, allocations: 171 kB / 0.4981 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1721, allocations: 0 / 0.4981 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.1721, allocations: 4 kB / 0.4981 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1723, allocations: 73.67 kB / 0.4982 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1723, allocations: 4 kB / 0.4982 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1723, allocations: 0 / 0.4982 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1724, allocations: 0 / 0.4982 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1725, allocations: 79.89 kB / 0.4983 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.1729, allocations: 316.7 kB / 0.4986 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.617e-05/0.173, allocations: 46.56 kB / 0.4986 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.173, allocations: 32.92 kB / 0.4986 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002923/0.176, allocations: 1.712 MB / 0.5003 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.176, allocations: 30.56 kB / 0.5003 GB, free: 3.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.176, allocations: 7.938 kB / 0.5004 GB, free: 3.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000292/0.1763, allocations: 105.7 kB / 0.5005 GB, free: 3.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1764, allocations: 55.41 kB / 0.5005 GB, free: 3.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.1764, allocations: 101.8 kB / 0.5006 GB, free: 2.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1765, allocations: 25.7 kB / 0.5006 GB, free: 2.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.1765, allocations: 84.05 kB / 0.5007 GB, free: 2.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1765, allocations: 27.56 kB / 0.5007 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.1766, allocations: 25.7 kB / 0.5008 GB, free: 2.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1767, allocations: 310.8 kB / 0.5011 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.1768, allocations: 27.98 kB / 0.5011 GB, free: 2.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.1768, allocations: 41.77 kB / 0.5011 GB, free: 2.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.375e-05/0.1769, allocations: 57.72 kB / 0.5012 GB, free: 2.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1769, allocations: 0 / 0.5012 GB, free: 2.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001707/0.1771, allocations: 93.56 kB / 0.5013 GB, free: 2.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1771, allocations: 8 kB / 0.5013 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1771, allocations: 384 / 0.5013 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1771, allocations: 0 / 0.5013 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.1772, allocations: 15.92 kB / 0.5013 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1772, allocations: 4.031 kB / 0.5013 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.1773, allocations: 19.78 kB / 0.5013 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1773, allocations: 3.938 kB / 0.5013 GB, free: 2.172 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 7.981e-05/0.1774, allocations: 113.8 kB / 0.5014 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.1774, allocations: 4 kB / 0.5014 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.1777, allocations: 143.9 kB / 0.5016 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001339/0.1778, allocations: 121.6 kB / 0.5017 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1778, allocations: 0 / 0.5017 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1778, allocations: 4.078 kB / 0.5017 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.1783, allocations: 438.1 kB / 0.5021 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1783, allocations: 0 / 0.5021 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.1784, allocations: 16.19 kB / 0.5021 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1784, allocations: 0 / 0.5021 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1784, allocations: 8 kB / 0.5021 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1784, allocations: 4 kB / 0.5021 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1784, allocations: 3.938 kB / 0.5021 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.1786, allocations: 224.2 kB / 0.5023 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.1787, allocations: 84.95 kB / 0.5024 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.1787, allocations: 4 kB / 0.5024 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/0.1788, allocations: 4 kB / 0.5024 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.1788, allocations: 11.92 kB / 0.5024 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.1788, allocations: 4 kB / 0.5025 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.1788, allocations: 83.22 kB / 0.5025 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1788, allocations: 0 / 0.5025 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001866/0.1807, allocations: 335.8 kB / 0.5029 GB, free: 500 kB / 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.1986/0.3793, allocations: 3.709 MB / 0.5065 GB, free: 47.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.3796, allocations: 116.7 kB / 0.5066 GB, free: 47.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3796, allocations: 1.375 kB / 0.5066 GB, free: 47.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.3797, allocations: 51.39 kB / 0.5066 GB, free: 47.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.3802, allocations: 42.81 kB / 0.5067 GB, free: 47.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.3806, allocations: 258.1 kB / 0.5069 GB, free: 47.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.3808, allocations: 0.6957 MB / 0.5076 GB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.3808, allocations: 19.09 kB / 0.5076 GB, free: 46.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3808, allocations: 0 / 0.5076 GB, free: 46.62 MB / 382.1 MB Notification: Performance of Templates: time 0.02765/0.4085, allocations: 19.21 MB / 0.5264 GB, free: 37.69 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches