Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 117.1 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001408, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3376, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01259/0.3502, allocations: 8.407 MB / 0.5392 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.3643, allocations: 11.14 MB / 0.5501 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.3644, allocations: 0 / 0.5501 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3647, allocations: 39.8 kB / 0.5501 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007049/0.3718, allocations: 1.802 MB / 0.5519 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.16e-05/0.3718, allocations: 0 / 0.5519 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3719, allocations: 51.66 kB / 0.5519 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.372, allocations: 4 kB / 0.5519 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3722, allocations: 31.8 kB / 0.5519 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.3722, allocations: 23.91 kB / 0.552 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.3722, allocations: 0 / 0.552 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/0.3855, allocations: 6.651 MB / 0.5585 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.3855, allocations: 7.938 kB / 0.5585 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.3856, allocations: 23.92 kB / 0.5585 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.398, allocations: 4.632 MB / 0.563 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.398, allocations: 4 kB / 0.563 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.398, allocations: 0 / 0.563 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3981, allocations: 0 / 0.563 GB, free: 0.8555 MB / 414.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.002622/0.4007, allocations: 0.5614 MB / 0.5636 GB, free: 252 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4007, allocations: 8.031 kB / 0.5636 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.4009, allocations: 7.984 kB / 0.5636 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.401, allocations: 171 kB / 0.5637 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.401, allocations: 4 kB / 0.5637 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.401, allocations: 4 kB / 0.5637 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.4013, allocations: 81.73 kB / 0.5638 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4013, allocations: 7.875 kB / 0.5638 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.4013, allocations: 0 / 0.5638 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4013, allocations: 3.984 kB / 0.5638 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.4014, allocations: 75.95 kB / 0.5639 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.4018, allocations: 328.5 kB / 0.5642 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.003e-05/0.4019, allocations: 42.58 kB / 0.5643 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.402, allocations: 32.91 kB / 0.5643 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003468/0.4055, allocations: 1.846 MB / 0.5661 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4055, allocations: 30.56 kB / 0.5661 GB, free: 13.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.923e-06/0.4055, allocations: 0 / 0.5661 GB, free: 13.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002622/0.4058, allocations: 117.7 kB / 0.5662 GB, free: 13.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4058, allocations: 59.34 kB / 0.5663 GB, free: 13.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.4059, allocations: 97.86 kB / 0.5664 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.4059, allocations: 25.7 kB / 0.5664 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.4059, allocations: 92.05 kB / 0.5665 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.406, allocations: 27.64 kB / 0.5665 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.406, allocations: 21.72 kB / 0.5665 GB, free: 12.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4061, allocations: 318.8 kB / 0.5669 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.4062, allocations: 20 kB / 0.5669 GB, free: 12.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.4062, allocations: 41.64 kB / 0.5669 GB, free: 12.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.807e-05/0.4063, allocations: 61.7 kB / 0.567 GB, free: 12.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4063, allocations: 4 kB / 0.567 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001555/0.4065, allocations: 93.91 kB / 0.5671 GB, free: 12.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4065, allocations: 8 kB / 0.5671 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4065, allocations: 0 / 0.5671 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4065, allocations: 0 / 0.5671 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.4066, allocations: 11.94 kB / 0.5671 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4066, allocations: 0 / 0.5671 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.4067, allocations: 11.88 kB / 0.5671 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4067, allocations: 7.984 kB / 0.5671 GB, free: 12.17 MB / 430.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.075e-05/0.4068, allocations: 117.8 kB / 0.5672 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.4068, allocations: 7.906 kB / 0.5672 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.407, allocations: 145.6 kB / 0.5674 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001292/0.4072, allocations: 117.5 kB / 0.5675 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4072, allocations: 0 / 0.5675 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4072, allocations: 256 / 0.5675 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.4077, allocations: 434.2 kB / 0.5679 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4077, allocations: 11.98 kB / 0.5679 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.4078, allocations: 16 kB / 0.5679 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4078, allocations: 7.938 kB / 0.5679 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4078, allocations: 3.938 kB / 0.5679 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4079, allocations: 0 / 0.5679 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4079, allocations: 0 / 0.5679 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.4081, allocations: 219.4 kB / 0.5681 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.4081, allocations: 92.94 kB / 0.5682 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4081, allocations: 7.938 kB / 0.5682 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-05/0.4082, allocations: 4 kB / 0.5682 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.4082, allocations: 4 kB / 0.5682 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.4082, allocations: 4 kB / 0.5682 GB, free: 10.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.481e-05/0.4083, allocations: 87.44 kB / 0.5683 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4083, allocations: 0 / 0.5683 GB, free: 10.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001709/0.41, allocations: 347.8 kB / 0.5687 GB, free: 10.46 MB / 430.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.0122/0.4222, allocations: 3.711 MB / 0.5723 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.4225, allocations: 117.9 kB / 0.5724 GB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4225, allocations: 0 / 0.5724 GB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.4226, allocations: 55.92 kB / 0.5724 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.4231, allocations: 38.27 kB / 0.5725 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.4236, allocations: 221.1 kB / 0.5727 GB, free: 6.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4239, allocations: 0.6924 MB / 0.5734 GB, free: 5.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.812e-05/0.424, allocations: 19.86 kB / 0.5734 GB, free: 5.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.424, allocations: 23.44 kB / 0.5734 GB, free: 5.523 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.424, allocations: 0 / 0.5734 GB, free: 5.523 MB / 430.1 MB Notification: Performance of Templates: time 0.02691/0.4509, allocations: 18.15 MB / 0.5911 GB, free: 3.352 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches