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.0007393/0.0007395, allocations: 94.27 kB / 17.35 MB, free: 6.371 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.0008329/0.0008329, allocations: 172.4 kB / 18.25 MB, free: 5.527 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.373/1.373, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1908/0.1908, allocations: 44.24 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 9.344 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.009628/0.1279, allocations: 7.843 MB / 480.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.1408, allocations: 11.27 MB / 491.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.1408, allocations: 4 kB / 491.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.1411, allocations: 35.8 kB / 491.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004305/0.1454, allocations: 1.456 MB / 492.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.242e-06/0.1454, allocations: 0 / 492.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.1455, allocations: 47.67 kB / 492.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1455, allocations: 8 kB / 492.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1457, allocations: 31.84 kB / 493 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.1457, allocations: 15.88 kB / 493 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.1457, allocations: 0 / 493 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01781/0.1636, allocations: 14.38 MB / 0.4955 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.1636, allocations: 11.92 kB / 0.4955 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.1637, allocations: 41.64 kB / 0.4955 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01749/0.1812, allocations: 8.145 MB / 0.5035 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1812, allocations: 0 / 0.5035 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.1812, allocations: 4 kB / 0.5035 GB, free: 1.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1812, allocations: 0 / 0.5035 GB, free: 1.875 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.00236/0.1836, allocations: 0.5498 MB / 0.504 GB, free: 1.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1837, allocations: 12.03 kB / 0.504 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1838, allocations: 11.89 kB / 0.504 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.777e-05/0.1839, allocations: 167 kB / 0.5042 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1839, allocations: 11.94 kB / 0.5042 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1839, allocations: 4 kB / 0.5042 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.184, allocations: 69.67 kB / 0.5043 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.1841, allocations: 4 kB / 0.5043 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1841, allocations: 4 kB / 0.5043 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1841, allocations: 0 / 0.5043 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1842, allocations: 75.95 kB / 0.5043 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1846, allocations: 320.6 kB / 0.5047 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.1847, allocations: 42.56 kB / 0.5047 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.1847, allocations: 36.92 kB / 0.5047 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.197/0.3818, allocations: 1.681 MB / 0.5064 GB, free: 47.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3818, allocations: 32.78 kB / 0.5064 GB, free: 47.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.3818, allocations: 0 / 0.5064 GB, free: 47.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003373/0.3822, allocations: 110.6 kB / 0.5065 GB, free: 47.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.3822, allocations: 51.41 kB / 0.5066 GB, free: 47.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.3823, allocations: 100.9 kB / 0.5067 GB, free: 47.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3823, allocations: 28.62 kB / 0.5067 GB, free: 47.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.3823, allocations: 84.91 kB / 0.5068 GB, free: 47.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3824, allocations: 29.66 kB / 0.5068 GB, free: 47.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.3824, allocations: 14.7 kB / 0.5068 GB, free: 47.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.3825, allocations: 316.1 kB / 0.5071 GB, free: 47.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.3825, allocations: 24.27 kB / 0.5071 GB, free: 47.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.3826, allocations: 38.61 kB / 0.5072 GB, free: 47.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.586e-05/0.3827, allocations: 63 kB / 0.5072 GB, free: 47.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3827, allocations: 1.156 kB / 0.5072 GB, free: 47.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001621/0.3828, allocations: 92.55 kB / 0.5073 GB, free: 47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3829, allocations: 8.531 kB / 0.5073 GB, free: 47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3829, allocations: 2.203 kB / 0.5073 GB, free: 47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3829, allocations: 2.125 kB / 0.5073 GB, free: 47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.383, allocations: 11.2 kB / 0.5073 GB, free: 47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.383, allocations: 0.7969 kB / 0.5073 GB, free: 47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.383, allocations: 6.875 kB / 0.5073 GB, free: 46.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.383, allocations: 3.719 kB / 0.5073 GB, free: 46.99 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.327e-05/0.3831, allocations: 120.6 kB / 0.5075 GB, free: 46.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.3832, allocations: 3.812 kB / 0.5075 GB, free: 46.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.3834, allocations: 152.1 kB / 0.5076 GB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001709/0.3836, allocations: 112.4 kB / 0.5077 GB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3836, allocations: 0 / 0.5077 GB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3836, allocations: 4.469 kB / 0.5077 GB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.3841, allocations: 438.2 kB / 0.5081 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3841, allocations: 0 / 0.5081 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.3842, allocations: 15.11 kB / 0.5082 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3842, allocations: 8 kB / 0.5082 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3842, allocations: 3.859 kB / 0.5082 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3842, allocations: 3.938 kB / 0.5082 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3842, allocations: 5.438 kB / 0.5082 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.3844, allocations: 219.3 kB / 0.5084 GB, free: 46.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.3845, allocations: 91.11 kB / 0.5085 GB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3845, allocations: 5.141 kB / 0.5085 GB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.3845, allocations: 7.781 kB / 0.5085 GB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.3846, allocations: 6.328 kB / 0.5085 GB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3846, allocations: 4.156 kB / 0.5085 GB, free: 46.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.654e-05/0.3846, allocations: 77.31 kB / 0.5086 GB, free: 46.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3846, allocations: 3 kB / 0.5086 GB, free: 46.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001947/0.3866, allocations: 341.9 kB / 0.5089 GB, free: 46.15 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.01728/0.4039, allocations: 3.708 MB / 0.5125 GB, free: 44.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.4042, allocations: 112 kB / 0.5126 GB, free: 44.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4042, allocations: 2.125 kB / 0.5126 GB, free: 44.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.4043, allocations: 56.8 kB / 0.5127 GB, free: 44.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.4049, allocations: 46.16 kB / 0.5127 GB, free: 44.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.4053, allocations: 240 kB / 0.513 GB, free: 44.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.4055, allocations: 0.6987 MB / 0.5136 GB, free: 43.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.4055, allocations: 15.7 kB / 0.5137 GB, free: 43.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.4056, allocations: 18.91 kB / 0.5137 GB, free: 43.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4056, allocations: 1.031 kB / 0.5137 GB, free: 43.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02604/0.4316, allocations: 17.86 MB / 0.5311 GB, free: 34.14 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches