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.001555/0.001555, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001582/0.001582, allocations: 194 kB / 18.12 MB, free: 5.363 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.603/1.603, allocations: 222.9 MB / 241.8 MB, free: 15.59 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.2427/0.2427, allocations: 44.18 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 64.16 kB / 407.7 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 60.82 MB / 468.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01067/0.1235, allocations: 8.247 MB / 476.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.1352, allocations: 11.46 MB / 488.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.1353, allocations: 0 / 488.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.1355, allocations: 35.86 kB / 488.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004966/0.1405, allocations: 1.448 MB / 489.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.224e-05/0.1406, allocations: 0 / 489.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1407, allocations: 39.69 kB / 489.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.1408, allocations: 11.92 kB / 489.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.141, allocations: 23.86 kB / 489.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.141, allocations: 23.92 kB / 489.8 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.141, allocations: 0 / 489.8 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02248/0.1635, allocations: 14.37 MB / 0.4924 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.1636, allocations: 4 kB / 0.4924 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.1636, allocations: 19.91 kB / 0.4924 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02294/0.1866, allocations: 8.164 MB / 0.5004 GB, free: 2.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1866, allocations: 0 / 0.5004 GB, free: 2.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1866, allocations: 0 / 0.5004 GB, free: 2.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.1866, allocations: 0 / 0.5004 GB, free: 2.883 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.002361/0.189, allocations: 0.5563 MB / 0.5009 GB, free: 2.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1891, allocations: 12.03 kB / 0.5009 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1892, allocations: 7.906 kB / 0.5009 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.88e-05/0.1893, allocations: 167.1 kB / 0.5011 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1893, allocations: 15.92 kB / 0.5011 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.1893, allocations: 0 / 0.5011 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1895, allocations: 81.61 kB / 0.5012 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1895, allocations: 0 / 0.5012 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1895, allocations: 4 kB / 0.5012 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1895, allocations: 4 kB / 0.5012 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1896, allocations: 67.97 kB / 0.5012 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.1901, allocations: 320.7 kB / 0.5015 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.205e-05/0.1902, allocations: 46.52 kB / 0.5016 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.999e-05/0.1902, allocations: 36.95 kB / 0.5016 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2306/0.4208, allocations: 1.699 MB / 0.5033 GB, free: 49.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.4209, allocations: 33.81 kB / 0.5033 GB, free: 49.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/0.4209, allocations: 0.6562 kB / 0.5033 GB, free: 49.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00036/0.4212, allocations: 109.7 kB / 0.5034 GB, free: 49.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.4213, allocations: 55.44 kB / 0.5035 GB, free: 49.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.4213, allocations: 95.25 kB / 0.5036 GB, free: 48.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.4213, allocations: 25.7 kB / 0.5036 GB, free: 48.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.4214, allocations: 92.12 kB / 0.5037 GB, free: 48.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.4214, allocations: 29.58 kB / 0.5037 GB, free: 48.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.4215, allocations: 27.36 kB / 0.5037 GB, free: 48.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.4215, allocations: 317.7 kB / 0.504 GB, free: 48.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.4216, allocations: 17.69 kB / 0.5041 GB, free: 48.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.4216, allocations: 39.59 kB / 0.5041 GB, free: 48.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.976e-05/0.4217, allocations: 63.38 kB / 0.5041 GB, free: 48.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4218, allocations: 4.469 kB / 0.5042 GB, free: 48.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.4219, allocations: 94.14 kB / 0.5042 GB, free: 48.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.422, allocations: 7.094 kB / 0.5043 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.422, allocations: 4.797 kB / 0.5043 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.422, allocations: 5.078 kB / 0.5043 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.4221, allocations: 8.906 kB / 0.5043 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4221, allocations: 2.641 kB / 0.5043 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.4221, allocations: 5.25 kB / 0.5043 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4222, allocations: 5.25 kB / 0.5043 GB, free: 48.46 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.583e-05/0.4222, allocations: 115.9 kB / 0.5044 GB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.4223, allocations: 5.984 kB / 0.5044 GB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.4226, allocations: 156.5 kB / 0.5045 GB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001428/0.4227, allocations: 115.4 kB / 0.5047 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4228, allocations: 0.8125 kB / 0.5047 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4228, allocations: 0.7031 kB / 0.5047 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.4232, allocations: 433.7 kB / 0.5051 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4232, allocations: 1.516 kB / 0.5051 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.4233, allocations: 13.48 kB / 0.5051 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4233, allocations: 0.6562 kB / 0.5051 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4233, allocations: 10.31 kB / 0.5051 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4233, allocations: 7.531 kB / 0.5051 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4233, allocations: 1.578 kB / 0.5051 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.4236, allocations: 215.9 kB / 0.5053 GB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.4236, allocations: 85.58 kB / 0.5054 GB, free: 47.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.4236, allocations: 2.453 kB / 0.5054 GB, free: 47.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.4237, allocations: 7.938 kB / 0.5054 GB, free: 47.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.4237, allocations: 8.031 kB / 0.5054 GB, free: 47.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4237, allocations: 7.156 kB / 0.5054 GB, free: 47.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.599e-05/0.4238, allocations: 76.31 kB / 0.5055 GB, free: 47.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.4238, allocations: 0 / 0.5055 GB, free: 47.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002001/0.4258, allocations: 349.2 kB / 0.5058 GB, free: 47.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.01846/0.4442, allocations: 3.716 MB / 0.5095 GB, free: 45.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.4445, allocations: 115.6 kB / 0.5096 GB, free: 45.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4446, allocations: 3.938 kB / 0.5096 GB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.4447, allocations: 51.88 kB / 0.5096 GB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.4452, allocations: 35 kB / 0.5096 GB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.4457, allocations: 227.6 kB / 0.5099 GB, free: 45.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.4458, allocations: 0.6906 MB / 0.5105 GB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.446, allocations: 17 kB / 0.5106 GB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.446, allocations: 19.69 kB / 0.5106 GB, free: 44.95 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.446, allocations: 2.031 kB / 0.5106 GB, free: 44.95 MB / 382.1 MB Notification: Performance of Templates: time 0.03012/0.4762, allocations: 17.91 MB / 0.5281 GB, free: 35.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