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.001219/0.001219, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001314/0.001314, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.31/1.31, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.1968/0.1968, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 61.44 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01137/0.1225, allocations: 8.317 MB / 477.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.1331, allocations: 11.08 MB / 488.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.1332, allocations: 3.938 kB / 488.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.1334, allocations: 47.78 kB / 488.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.1374, allocations: 1.785 MB / 490.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.544e-06/0.1375, allocations: 4 kB / 490.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.1376, allocations: 43.69 kB / 490.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.1376, allocations: 7.938 kB / 490.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1377, allocations: 31.91 kB / 490.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.956e-05/0.1378, allocations: 15.92 kB / 490.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.1378, allocations: 0 / 490.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008793/0.1466, allocations: 6.62 MB / 497.2 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1467, allocations: 7.938 kB / 497.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.1467, allocations: 11.94 kB / 497.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.1576, allocations: 4.62 MB / 0.4901 GB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1577, allocations: 0 / 0.4901 GB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1577, allocations: 0 / 0.4901 GB, free: 13.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1577, allocations: 0 / 0.4901 GB, free: 13.69 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.002363/0.16, allocations: 0.5576 MB / 0.4906 GB, free: 13.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1601, allocations: 12.03 kB / 0.4906 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.1602, allocations: 7.906 kB / 0.4906 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.1603, allocations: 167 kB / 0.4908 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1603, allocations: 4 kB / 0.4908 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.1604, allocations: 8 kB / 0.4908 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1605, allocations: 77.66 kB / 0.4909 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1605, allocations: 3.938 kB / 0.4909 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1605, allocations: 4 kB / 0.4909 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.1606, allocations: 4 kB / 0.4909 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.228e-05/0.1606, allocations: 67.97 kB / 0.491 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.1611, allocations: 324.6 kB / 0.4913 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.844e-05/0.1611, allocations: 46.56 kB / 0.4913 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.1612, allocations: 36.92 kB / 0.4914 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002718/0.1639, allocations: 1.701 MB / 0.493 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.164, allocations: 34.56 kB / 0.493 GB, free: 10.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.164, allocations: 0 / 0.493 GB, free: 10.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002765/0.1643, allocations: 113.6 kB / 0.4932 GB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1643, allocations: 51.41 kB / 0.4932 GB, free: 10.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/0.1644, allocations: 93.86 kB / 0.4933 GB, free: 9.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1644, allocations: 29.83 kB / 0.4933 GB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.1644, allocations: 88.05 kB / 0.4934 GB, free: 9.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.1644, allocations: 27.55 kB / 0.4934 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1645, allocations: 29.72 kB / 0.4935 GB, free: 9.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.1646, allocations: 318.8 kB / 0.4938 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.1646, allocations: 20 kB / 0.4938 GB, free: 9.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.1647, allocations: 41.64 kB / 0.4938 GB, free: 9.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.753e-05/0.1648, allocations: 61.7 kB / 0.4939 GB, free: 9.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1648, allocations: 0 / 0.4939 GB, free: 9.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001547/0.1649, allocations: 93.62 kB / 0.494 GB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.165, allocations: 4 kB / 0.494 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.165, allocations: 4 kB / 0.494 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.165, allocations: 0 / 0.494 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.1651, allocations: 11.94 kB / 0.494 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1651, allocations: 0 / 0.494 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.1651, allocations: 7.844 kB / 0.494 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1652, allocations: 11.97 kB / 0.494 GB, free: 9.184 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 8.771e-05/0.1652, allocations: 122.1 kB / 0.4941 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1653, allocations: 0 / 0.4941 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1655, allocations: 145.6 kB / 0.4943 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001499/0.1657, allocations: 121.6 kB / 0.4944 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1657, allocations: 0 / 0.4944 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1657, allocations: 256 / 0.4944 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.1662, allocations: 434.2 kB / 0.4948 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1662, allocations: 4 kB / 0.4948 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.1663, allocations: 23.91 kB / 0.4948 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1663, allocations: 0 / 0.4948 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1663, allocations: 8.125 kB / 0.4948 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1663, allocations: 4 kB / 0.4948 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1663, allocations: 3.938 kB / 0.4948 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1666, allocations: 225.8 kB / 0.4951 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.1666, allocations: 84.95 kB / 0.4951 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1667, allocations: 3.938 kB / 0.4951 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.1667, allocations: 7.984 kB / 0.4951 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.1667, allocations: 4 kB / 0.4951 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.1668, allocations: 4 kB / 0.4952 GB, free: 7.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.814e-05/0.1668, allocations: 87.22 kB / 0.4952 GB, free: 7.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1668, allocations: 0 / 0.4952 GB, free: 7.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002462/0.1693, allocations: 339.8 kB / 0.4956 GB, free: 7.484 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.01724/0.1865, allocations: 3.699 MB / 0.4992 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.1868, allocations: 117.6 kB / 0.4993 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1869, allocations: 4 kB / 0.4993 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.1869, allocations: 47.98 kB / 0.4993 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.1874, allocations: 48.36 kB / 0.4994 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.1878, allocations: 196.7 kB / 0.4996 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1881, allocations: 0.6963 MB / 0.5002 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.898e-05/0.1882, allocations: 15.92 kB / 0.5003 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.1882, allocations: 19.44 kB / 0.5003 GB, free: 2.574 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1882, allocations: 3.938 kB / 0.5003 GB, free: 2.57 MB / 382.1 MB Notification: Performance of Templates: time 0.211/0.3993, allocations: 17.98 MB / 0.5178 GB, free: 43.89 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/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