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.001639/0.001639, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001711/0.001712, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.342/1.342, allocations: 222.9 MB / 243 MB, free: 15.17 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.2008/0.2008, allocations: 44.18 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.25 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1173, allocations: 60.83 MB / 470.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01178/0.1292, allocations: 8.316 MB / 479 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1407, allocations: 11.09 MB / 490.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.1408, allocations: 7.938 kB / 490.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1411, allocations: 39.8 kB / 490.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.1462, allocations: 1.793 MB / 491.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.103e-06/0.1462, allocations: 0 / 491.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1463, allocations: 43.73 kB / 492 MB, free: 8.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.1464, allocations: 8 kB / 492 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1466, allocations: 27.8 kB / 492 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.1466, allocations: 19.92 kB / 492 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.1466, allocations: 0 / 492 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00949/0.1561, allocations: 6.631 MB / 498.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.1562, allocations: 7.938 kB / 498.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.1563, allocations: 11.94 kB / 498.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.1671, allocations: 4.624 MB / 0.4915 GB, free: 12.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1672, allocations: 0 / 0.4915 GB, free: 12.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1672, allocations: 4 kB / 0.4915 GB, free: 12.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.1672, allocations: 3.938 kB / 0.4915 GB, free: 12.97 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.002833/0.1701, allocations: 0.5498 MB / 0.4921 GB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1701, allocations: 8.031 kB / 0.4921 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1703, allocations: 11.91 kB / 0.4921 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1704, allocations: 163.1 kB / 0.4922 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1704, allocations: 11.94 kB / 0.4922 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1704, allocations: 4 kB / 0.4922 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1706, allocations: 77.66 kB / 0.4923 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1706, allocations: 7.938 kB / 0.4923 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1706, allocations: 4 kB / 0.4923 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1706, allocations: 0 / 0.4923 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.948e-05/0.1707, allocations: 71.97 kB / 0.4924 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.1712, allocations: 316.7 kB / 0.4927 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.1713, allocations: 42.52 kB / 0.4927 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.1713, allocations: 36.91 kB / 0.4928 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002855/0.1742, allocations: 1.709 MB / 0.4944 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1742, allocations: 34.56 kB / 0.4945 GB, free: 9.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1742, allocations: 0 / 0.4945 GB, free: 9.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002958/0.1745, allocations: 109.7 kB / 0.4946 GB, free: 9.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.1746, allocations: 51.41 kB / 0.4946 GB, free: 9.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.1747, allocations: 93.84 kB / 0.4947 GB, free: 9.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1747, allocations: 33.7 kB / 0.4948 GB, free: 9.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.1747, allocations: 88.05 kB / 0.4948 GB, free: 9.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1748, allocations: 35.66 kB / 0.4949 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.1748, allocations: 21.72 kB / 0.4949 GB, free: 9.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.1749, allocations: 318.8 kB / 0.4952 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-05/0.175, allocations: 19.98 kB / 0.4952 GB, free: 8.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.798e-05/0.175, allocations: 37.7 kB / 0.4952 GB, free: 8.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.538e-05/0.1751, allocations: 69.97 kB / 0.4953 GB, free: 8.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1751, allocations: 0 / 0.4953 GB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.1753, allocations: 93.62 kB / 0.4954 GB, free: 8.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1753, allocations: 4 kB / 0.4954 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1753, allocations: 3.984 kB / 0.4954 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1753, allocations: 7.984 kB / 0.4954 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.1754, allocations: 8 kB / 0.4954 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1754, allocations: 0 / 0.4954 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.1754, allocations: 7.844 kB / 0.4954 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1755, allocations: 8 kB / 0.4954 GB, free: 8.469 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.569e-05/0.1756, allocations: 117.8 kB / 0.4956 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.1756, allocations: 4 kB / 0.4956 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.1758, allocations: 145.5 kB / 0.4957 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001368/0.176, allocations: 117.6 kB / 0.4958 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.176, allocations: 7.984 kB / 0.4958 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.176, allocations: 0 / 0.4958 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.1765, allocations: 426.2 kB / 0.4962 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1765, allocations: 0 / 0.4962 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.1765, allocations: 20 kB / 0.4962 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1766, allocations: 4 kB / 0.4962 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1766, allocations: 3.938 kB / 0.4962 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1766, allocations: 256 / 0.4962 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1766, allocations: 3.984 kB / 0.4963 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1768, allocations: 226.1 kB / 0.4965 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.1769, allocations: 88.95 kB / 0.4966 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1769, allocations: 3.938 kB / 0.4966 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.203e-05/0.177, allocations: 4 kB / 0.4966 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.177, allocations: 11.98 kB / 0.4966 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.177, allocations: 4 kB / 0.4966 GB, free: 7.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3e-05/0.177, allocations: 75.28 kB / 0.4966 GB, free: 7.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.177, allocations: 0 / 0.4966 GB, free: 7.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002082/0.1791, allocations: 343.8 kB / 0.497 GB, free: 6.785 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.01168/0.1908, allocations: 3.711 MB / 0.5006 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.1912, allocations: 109.7 kB / 0.5007 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1912, allocations: 0 / 0.5007 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.1913, allocations: 55.92 kB / 0.5008 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.1917, allocations: 36.08 kB / 0.5008 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.1922, allocations: 208.8 kB / 0.501 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1924, allocations: 0.6885 MB / 0.5017 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.089e-05/0.1925, allocations: 16.11 kB / 0.5017 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.1925, allocations: 19.44 kB / 0.5017 GB, free: 1.875 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1925, allocations: 4 kB / 0.5017 GB, free: 1.871 MB / 382.1 MB Notification: Performance of Templates: time 0.2239/0.4165, allocations: 17.96 MB / 0.5192 GB, free: 43.43 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 -s gbode -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