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.001881/0.001881, allocations: 118.8 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 205.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, 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.237/0.237, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3528, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01187/0.3648, allocations: 8.404 MB / 0.5392 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.3779, allocations: 11.13 MB / 0.55 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3781, allocations: 0 / 0.55 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.3785, allocations: 47.78 kB / 0.5501 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006286/0.3848, allocations: 1.829 MB / 0.5519 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.618e-06/0.3848, allocations: 0 / 0.5519 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.385, allocations: 47.67 kB / 0.5519 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.385, allocations: 4 kB / 0.5519 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.3852, allocations: 31.84 kB / 0.552 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.3852, allocations: 19.86 kB / 0.552 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3853, allocations: 4 kB / 0.552 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.3966, allocations: 6.659 MB / 0.5585 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.3966, allocations: 3.938 kB / 0.5585 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.3967, allocations: 19.94 kB / 0.5585 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.4085, allocations: 4.636 MB / 0.563 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.4085, allocations: 4 kB / 0.563 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4085, allocations: 0 / 0.563 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.4085, allocations: 0 / 0.563 GB, free: 0.8008 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.002668/0.4112, allocations: 0.5575 MB / 0.5636 GB, free: 200 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4113, allocations: 12.03 kB / 0.5636 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.4114, allocations: 7.984 kB / 0.5636 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.4115, allocations: 167.1 kB / 0.5638 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4116, allocations: 4 kB / 0.5638 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.4116, allocations: 7.938 kB / 0.5638 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4117, allocations: 85.55 kB / 0.5639 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.4118, allocations: 3.938 kB / 0.5639 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4118, allocations: 0 / 0.5639 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4118, allocations: 0 / 0.5639 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/0.4119, allocations: 75.95 kB / 0.5639 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.4123, allocations: 316.7 kB / 0.5642 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/0.4124, allocations: 50.52 kB / 0.5643 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.4125, allocations: 36.91 kB / 0.5643 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003072/0.4156, allocations: 1.85 MB / 0.5661 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.4156, allocations: 30.56 kB / 0.5662 GB, free: 13.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 3.487e-06/0.4156, allocations: 112 / 0.5662 GB, free: 13.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000295/0.4159, allocations: 125.5 kB / 0.5663 GB, free: 13.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.4159, allocations: 51.41 kB / 0.5663 GB, free: 13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/0.416, allocations: 97.86 kB / 0.5664 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.4161, allocations: 33.7 kB / 0.5664 GB, free: 12.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.4161, allocations: 92.03 kB / 0.5665 GB, free: 12.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.4161, allocations: 23.66 kB / 0.5666 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.4162, allocations: 25.61 kB / 0.5666 GB, free: 12.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4163, allocations: 318.8 kB / 0.5669 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.4164, allocations: 19.98 kB / 0.5669 GB, free: 12.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.4164, allocations: 37.72 kB / 0.5669 GB, free: 12.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.165e-05/0.4165, allocations: 69.64 kB / 0.567 GB, free: 12.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4165, allocations: 0 / 0.567 GB, free: 12.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.4167, allocations: 89.62 kB / 0.5671 GB, free: 12.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4167, allocations: 4 kB / 0.5671 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4167, allocations: 4 kB / 0.5671 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4167, allocations: 0 / 0.5671 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.4168, allocations: 8.375 kB / 0.5671 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4168, allocations: 3.984 kB / 0.5671 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.4168, allocations: 3.938 kB / 0.5671 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.4169, allocations: 8 kB / 0.5671 GB, free: 12.12 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.523e-05/0.417, allocations: 125.7 kB / 0.5672 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.417, allocations: 3.906 kB / 0.5672 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.4172, allocations: 145.6 kB / 0.5674 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001484/0.4174, allocations: 119.9 kB / 0.5675 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4174, allocations: 0 / 0.5675 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4174, allocations: 0 / 0.5675 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.4179, allocations: 446.2 kB / 0.5679 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4179, allocations: 96 / 0.5679 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.418, allocations: 19.88 kB / 0.5679 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.418, allocations: 0 / 0.5679 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.418, allocations: 7.938 kB / 0.568 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.418, allocations: 0 / 0.568 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.418, allocations: 0 / 0.568 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.4182, allocations: 223.4 kB / 0.5682 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.4183, allocations: 88.95 kB / 0.5682 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4183, allocations: 7.938 kB / 0.5683 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.455e-05/0.4184, allocations: 4 kB / 0.5683 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.4184, allocations: 8.234 kB / 0.5683 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4184, allocations: 4 kB / 0.5683 GB, free: 10.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.4184, allocations: 75.28 kB / 0.5683 GB, free: 10.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4184, allocations: 0 / 0.5683 GB, free: 10.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001766/0.4202, allocations: 351.8 kB / 0.5687 GB, free: 10.41 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.01167/0.4319, allocations: 3.721 MB / 0.5723 GB, free: 6.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.4323, allocations: 105.7 kB / 0.5724 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4323, allocations: 4 kB / 0.5724 GB, free: 6.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.4324, allocations: 55.95 kB / 0.5725 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.4328, allocations: 40 kB / 0.5725 GB, free: 6.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.4333, allocations: 213 kB / 0.5727 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.4336, allocations: 0.6924 MB / 0.5734 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.142e-05/0.4337, allocations: 23.84 kB / 0.5734 GB, free: 5.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.4337, allocations: 23.44 kB / 0.5734 GB, free: 5.473 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4337, allocations: 0 / 0.5734 GB, free: 5.473 MB / 430.1 MB Notification: Performance of Templates: time 0.02652/0.4602, allocations: 18.13 MB / 0.5911 GB, free: 3.324 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