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.001633/0.00164, allocations: 108.2 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.00187/0.00187, allocations: 182.9 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.48/1.48, allocations: 222.9 MB / 243 MB, free: 15.06 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.2156/0.2156, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.31 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1182, allocations: 60.82 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01071/0.129, allocations: 8.322 MB / 479 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.1397, allocations: 11.08 MB / 490.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.1398, allocations: 0 / 490.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.14, allocations: 43.78 kB / 490.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.1448, allocations: 1.796 MB / 491.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.905e-06/0.1448, allocations: 0 / 491.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.185e-05/0.1449, allocations: 43.73 kB / 492 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.145, allocations: 4 kB / 492 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1451, allocations: 27.84 kB / 492 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.724e-05/0.1451, allocations: 23.81 kB / 492 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.1452, allocations: 0 / 492 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009078/0.1542, allocations: 6.635 MB / 498.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.1543, allocations: 7.922 kB / 498.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.1543, allocations: 15.94 kB / 498.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.1661, allocations: 4.624 MB / 0.4915 GB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.1662, allocations: 0 / 0.4915 GB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1662, allocations: 0 / 0.4915 GB, free: 12.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1662, allocations: 0 / 0.4915 GB, free: 12.9 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.002914/0.1691, allocations: 0.5527 MB / 0.4921 GB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1692, allocations: 12.03 kB / 0.4921 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1693, allocations: 11.91 kB / 0.4921 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.1694, allocations: 163.1 kB / 0.4922 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1694, allocations: 4 kB / 0.4922 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1694, allocations: 4 kB / 0.4922 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1696, allocations: 77.61 kB / 0.4923 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1696, allocations: 3.938 kB / 0.4923 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1696, allocations: 4 kB / 0.4923 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1696, allocations: 0 / 0.4923 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.896e-05/0.1697, allocations: 71.97 kB / 0.4924 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1702, allocations: 316.7 kB / 0.4927 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.1703, allocations: 46.52 kB / 0.4927 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.1703, allocations: 36.91 kB / 0.4928 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003075/0.1734, allocations: 1.713 MB / 0.4944 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1735, allocations: 30.56 kB / 0.4945 GB, free: 9.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.013e-06/0.1735, allocations: 0 / 0.4945 GB, free: 9.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003552/0.1738, allocations: 109.7 kB / 0.4946 GB, free: 9.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1739, allocations: 55.41 kB / 0.4946 GB, free: 9.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.174, allocations: 93.84 kB / 0.4947 GB, free: 9.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.174, allocations: 33.7 kB / 0.4948 GB, free: 9.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.174, allocations: 88.05 kB / 0.4948 GB, free: 9.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1741, allocations: 27.56 kB / 0.4949 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.1741, allocations: 21.7 kB / 0.4949 GB, free: 9.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1742, allocations: 319.1 kB / 0.4952 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/0.1743, allocations: 20.11 kB / 0.4952 GB, free: 8.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.347e-05/0.1743, allocations: 45.64 kB / 0.4953 GB, free: 8.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.843e-05/0.1744, allocations: 65.66 kB / 0.4953 GB, free: 8.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1744, allocations: 0 / 0.4953 GB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001554/0.1746, allocations: 89.62 kB / 0.4954 GB, free: 8.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1746, allocations: 4 kB / 0.4954 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1746, allocations: 0 / 0.4954 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1746, allocations: 0 / 0.4954 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.1747, allocations: 16.2 kB / 0.4954 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1747, allocations: 4 kB / 0.4954 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.1748, allocations: 11.84 kB / 0.4954 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.1748, allocations: 8 kB / 0.4954 GB, free: 8.406 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.545e-05/0.1749, allocations: 109.8 kB / 0.4955 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.1749, allocations: 11.92 kB / 0.4956 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.1751, allocations: 149.6 kB / 0.4957 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001331/0.1753, allocations: 117.6 kB / 0.4958 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1753, allocations: 0 / 0.4958 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1753, allocations: 7.984 kB / 0.4958 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.1758, allocations: 430.2 kB / 0.4962 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1759, allocations: 0 / 0.4962 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.1759, allocations: 16 kB / 0.4962 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1759, allocations: 0 / 0.4962 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1759, allocations: 7.938 kB / 0.4963 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1759, allocations: 0 / 0.4963 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.176, allocations: 0 / 0.4963 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1762, allocations: 228.5 kB / 0.4965 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.1762, allocations: 88.95 kB / 0.4966 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1763, allocations: 3.938 kB / 0.4966 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.1763, allocations: 0 / 0.4966 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.1763, allocations: 11.98 kB / 0.4966 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.1764, allocations: 4 kB / 0.4966 GB, free: 7.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.97e-05/0.1764, allocations: 79.56 kB / 0.4967 GB, free: 7.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1764, allocations: 0 / 0.4967 GB, free: 7.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001921/0.1783, allocations: 343.8 kB / 0.497 GB, free: 6.719 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.01162/0.1899, allocations: 3.711 MB / 0.5006 GB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.1902, allocations: 109.6 kB / 0.5007 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1903, allocations: 0 / 0.5007 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.1903, allocations: 55.92 kB / 0.5008 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.1907, allocations: 39.61 kB / 0.5008 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.1912, allocations: 204.9 kB / 0.501 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1914, allocations: 0.6924 MB / 0.5017 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.1915, allocations: 11.98 kB / 0.5017 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.1915, allocations: 19.44 kB / 0.5017 GB, free: 1.812 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1915, allocations: 0 / 0.5017 GB, free: 1.812 MB / 382.1 MB Notification: Performance of Templates: time 0.1982/0.3897, allocations: 17.96 MB / 0.5192 GB, free: 43.91 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 cvode -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