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.001109/0.001109, allocations: 107 kB / 17.33 MB, free: 6.023 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.00103/0.00103, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.365/1.365, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.232/0.232, allocations: 44.18 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 73.27 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1264, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0112/0.1376, allocations: 8.316 MB / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.149, allocations: 11.03 MB / 488.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.1491, allocations: 0 / 488.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.1493, allocations: 35.86 kB / 488.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005357/0.1548, allocations: 1.585 MB / 489.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.774e-06/0.1548, allocations: 0 / 489.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1549, allocations: 43.73 kB / 489.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.1549, allocations: 11.88 kB / 489.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1551, allocations: 35.84 kB / 489.8 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.403e-05/0.1551, allocations: 11.94 kB / 489.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.1552, allocations: 4 kB / 489.8 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02049/0.1756, allocations: 14.56 MB / 0.4925 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.1757, allocations: 3.938 kB / 0.4925 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.1758, allocations: 23.86 kB / 0.4926 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01923/0.1951, allocations: 8.161 MB / 0.5005 GB, free: 2.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1951, allocations: 0 / 0.5005 GB, free: 2.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.1951, allocations: 0 / 0.5005 GB, free: 2.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1951, allocations: 7.938 kB / 0.5005 GB, free: 2.758 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.002747/0.1979, allocations: 0.5498 MB / 0.5011 GB, free: 2.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1979, allocations: 8.031 kB / 0.5011 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.1981, allocations: 15.89 kB / 0.5011 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1982, allocations: 163.1 kB / 0.5012 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1983, allocations: 3.938 kB / 0.5012 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1983, allocations: 4 kB / 0.5013 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1985, allocations: 81.66 kB / 0.5013 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1985, allocations: 0 / 0.5013 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1985, allocations: 4 kB / 0.5013 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.1985, allocations: 0 / 0.5013 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1986, allocations: 79.89 kB / 0.5014 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.1991, allocations: 308.7 kB / 0.5017 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/0.1992, allocations: 50.56 kB / 0.5018 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.1993, allocations: 28.92 kB / 0.5018 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2203/0.4197, allocations: 1.711 MB / 0.5035 GB, free: 49.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.4197, allocations: 35.2 kB / 0.5035 GB, free: 49.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.4197, allocations: 0.8438 kB / 0.5035 GB, free: 49.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003466/0.4201, allocations: 113.7 kB / 0.5036 GB, free: 49.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.4201, allocations: 55.94 kB / 0.5036 GB, free: 49.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.4202, allocations: 96.95 kB / 0.5037 GB, free: 49.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.4202, allocations: 25.7 kB / 0.5038 GB, free: 49.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.4202, allocations: 87.61 kB / 0.5038 GB, free: 48.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.4203, allocations: 31.66 kB / 0.5039 GB, free: 48.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.4203, allocations: 21.08 kB / 0.5039 GB, free: 48.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.4204, allocations: 318.1 kB / 0.5042 GB, free: 48.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.4204, allocations: 18.44 kB / 0.5042 GB, free: 48.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-05/0.4205, allocations: 36.19 kB / 0.5043 GB, free: 48.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.419e-05/0.4206, allocations: 65.56 kB / 0.5043 GB, free: 48.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4206, allocations: 3.969 kB / 0.5043 GB, free: 48.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001606/0.4207, allocations: 93.41 kB / 0.5044 GB, free: 48.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4208, allocations: 5.5 kB / 0.5044 GB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4208, allocations: 0 / 0.5044 GB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4208, allocations: 2.297 kB / 0.5044 GB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.4209, allocations: 12.19 kB / 0.5044 GB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4209, allocations: 1.828 kB / 0.5044 GB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.4209, allocations: 6.438 kB / 0.5044 GB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.421, allocations: 7.859 kB / 0.5044 GB, free: 48.54 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 6.494e-05/0.421, allocations: 117 kB / 0.5046 GB, free: 48.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.4211, allocations: 6.703 kB / 0.5046 GB, free: 48.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.4214, allocations: 152 kB / 0.5047 GB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001635/0.4215, allocations: 114.5 kB / 0.5048 GB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.4215, allocations: 1.594 kB / 0.5048 GB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4216, allocations: 1.891 kB / 0.5048 GB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.422, allocations: 432.1 kB / 0.5052 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.422, allocations: 0 / 0.5052 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.4221, allocations: 14.14 kB / 0.5052 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4221, allocations: 6.688 kB / 0.5053 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4222, allocations: 9.375 kB / 0.5053 GB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.4222, allocations: 4.812 kB / 0.5053 GB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4222, allocations: 1.484 kB / 0.5053 GB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.4224, allocations: 216.6 kB / 0.5055 GB, free: 47.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.4224, allocations: 88.62 kB / 0.5056 GB, free: 47.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.4225, allocations: 0.9688 kB / 0.5056 GB, free: 47.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.4225, allocations: 9.156 kB / 0.5056 GB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.4226, allocations: 7.391 kB / 0.5056 GB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4226, allocations: 3.969 kB / 0.5056 GB, free: 47.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.834e-05/0.4226, allocations: 77 kB / 0.5057 GB, free: 47.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.102e-06/0.4226, allocations: 1.438 kB / 0.5057 GB, free: 47.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002072/0.4247, allocations: 350.7 kB / 0.506 GB, free: 47.71 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.0177/0.4424, allocations: 3.713 MB / 0.5096 GB, free: 45.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.4427, allocations: 113.6 kB / 0.5097 GB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4427, allocations: 1.531 kB / 0.5097 GB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.4428, allocations: 50.16 kB / 0.5098 GB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.4433, allocations: 37.92 kB / 0.5098 GB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.4437, allocations: 239.3 kB / 0.51 GB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.4439, allocations: 0.6903 MB / 0.5107 GB, free: 45.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.444, allocations: 11.56 kB / 0.5107 GB, free: 45.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.444, allocations: 16.83 kB / 0.5107 GB, free: 45.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.444, allocations: 0 / 0.5107 GB, free: 45.02 MB / 382.1 MB Notification: Performance of Templates: time 0.02621/0.4702, allocations: 18.01 MB / 0.5283 GB, free: 35.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/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