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.001409/0.001408, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 79.86 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.331, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01196/0.343, allocations: 8.413 MB / 0.5392 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.3569, allocations: 11.13 MB / 0.5501 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.3572, allocations: 0 / 0.5501 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.3577, allocations: 47.8 kB / 0.5501 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008418/0.3661, allocations: 1.802 MB / 0.5519 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.549e-05/0.3662, allocations: 0 / 0.5519 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3663, allocations: 47.67 kB / 0.5519 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.215e-05/0.3664, allocations: 7.984 kB / 0.5519 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.3666, allocations: 31.86 kB / 0.5519 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.3667, allocations: 19.86 kB / 0.552 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3667, allocations: 4 kB / 0.552 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01358/0.3803, allocations: 6.651 MB / 0.5585 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.3804, allocations: 7.875 kB / 0.5585 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.3804, allocations: 15.94 kB / 0.5585 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.3943, allocations: 4.643 MB / 0.563 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3944, allocations: 0 / 0.563 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3944, allocations: 0 / 0.563 GB, free: 0.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3944, allocations: 4 kB / 0.563 GB, free: 0.8711 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.002844/0.3973, allocations: 0.575 MB / 0.5636 GB, free: 252 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3973, allocations: 12.03 kB / 0.5636 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.3975, allocations: 8 kB / 0.5636 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.3977, allocations: 175 kB / 0.5638 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.3977, allocations: 0 / 0.5638 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3977, allocations: 4 kB / 0.5638 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3979, allocations: 77.67 kB / 0.5638 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3979, allocations: 7.875 kB / 0.5639 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.3979, allocations: 4 kB / 0.5639 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3979, allocations: 0 / 0.5639 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.398, allocations: 79.91 kB / 0.5639 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.3985, allocations: 316.8 kB / 0.5642 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.14e-05/0.3986, allocations: 46.56 kB / 0.5643 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.3986, allocations: 32.92 kB / 0.5643 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003186/0.4018, allocations: 1.842 MB / 0.5661 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4019, allocations: 38.48 kB / 0.5661 GB, free: 13.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4019, allocations: 0 / 0.5661 GB, free: 13.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000341/0.4022, allocations: 109.8 kB / 0.5662 GB, free: 13.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.4023, allocations: 59.28 kB / 0.5663 GB, free: 13.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.4024, allocations: 101.9 kB / 0.5664 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4024, allocations: 29.7 kB / 0.5664 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.4025, allocations: 92.02 kB / 0.5665 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.4025, allocations: 27.75 kB / 0.5665 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.4026, allocations: 21.7 kB / 0.5666 GB, free: 12.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4027, allocations: 323.1 kB / 0.5669 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.4028, allocations: 23.98 kB / 0.5669 GB, free: 12.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.4028, allocations: 41.64 kB / 0.5669 GB, free: 12.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.4029, allocations: 61.66 kB / 0.567 GB, free: 12.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4029, allocations: 0 / 0.567 GB, free: 12.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.4031, allocations: 97.58 kB / 0.5671 GB, free: 12.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4031, allocations: 4 kB / 0.5671 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4032, allocations: 4 kB / 0.5671 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4032, allocations: 4.031 kB / 0.5671 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.4033, allocations: 11.98 kB / 0.5671 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4033, allocations: 0 / 0.5671 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.4033, allocations: 0 / 0.5671 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4033, allocations: 4 kB / 0.5671 GB, free: 12.18 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 0.0001691/0.4035, allocations: 117.8 kB / 0.5672 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.4035, allocations: 3.953 kB / 0.5672 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.4038, allocations: 149.6 kB / 0.5674 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001445/0.404, allocations: 124.3 kB / 0.5675 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.404, allocations: 0 / 0.5675 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.404, allocations: 3.984 kB / 0.5675 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.4045, allocations: 438.4 kB / 0.5679 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4045, allocations: 4 kB / 0.5679 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.4045, allocations: 12 kB / 0.5679 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4045, allocations: 3.938 kB / 0.5679 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4046, allocations: 11.94 kB / 0.5679 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4046, allocations: 3.984 kB / 0.5679 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4046, allocations: 4 kB / 0.568 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.4048, allocations: 219.4 kB / 0.5682 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.4049, allocations: 89.06 kB / 0.5682 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.4049, allocations: 3.938 kB / 0.5683 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.4049, allocations: 0 / 0.5683 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.405, allocations: 7.984 kB / 0.5683 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.405, allocations: 8 kB / 0.5683 GB, free: 10.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.405, allocations: 79.56 kB / 0.5683 GB, free: 10.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.405, allocations: 0 / 0.5683 GB, free: 10.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001857/0.4069, allocations: 355 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.0113/0.4182, allocations: 3.716 MB / 0.5723 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.4185, allocations: 113.6 kB / 0.5724 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4185, allocations: 4 kB / 0.5724 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-05/0.4186, allocations: 51.92 kB / 0.5725 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4191, allocations: 48.12 kB / 0.5725 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.4195, allocations: 221.1 kB / 0.5727 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.4198, allocations: 0.6963 MB / 0.5734 GB, free: 5.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.834e-05/0.4198, allocations: 19.67 kB / 0.5734 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.4199, allocations: 15.44 kB / 0.5734 GB, free: 5.512 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4199, allocations: 0 / 0.5734 GB, free: 5.512 MB / 430.1 MB Notification: Performance of Templates: time 0.02445/0.4443, allocations: 18.13 MB / 0.5911 GB, free: 3.359 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