Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 230.5 MB / 258.1 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.92 MB / 361.5 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 79.88 kB / 0.4974 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2865, allocations: 66.09 MB / 0.562 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01199/0.2985, allocations: 8.486 MB / 0.5702 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.3113, allocations: 11.27 MB / 0.5812 GB, free: 384 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.3114, allocations: 0 / 0.5812 GB, free: 384 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.3116, allocations: 51.67 kB / 0.5813 GB, free: 332 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004846/0.3164, allocations: 1.867 MB / 0.5831 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.634e-06/0.3164, allocations: 4 kB / 0.5831 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3165, allocations: 51.61 kB / 0.5832 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.3166, allocations: 3.938 kB / 0.5832 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3167, allocations: 31.91 kB / 0.5832 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.3167, allocations: 15.88 kB / 0.5832 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.3167, allocations: 0 / 0.5832 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00972/0.3265, allocations: 6.756 MB / 0.5898 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.3265, allocations: 4 kB / 0.5898 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.3265, allocations: 19.86 kB / 0.5898 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.3376, allocations: 5.1 MB / 0.5948 GB, free: 2.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3376, allocations: 0 / 0.5948 GB, free: 2.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3376, allocations: 0 / 0.5948 GB, free: 2.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3377, allocations: 0 / 0.5948 GB, free: 2.453 MB / 430.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.002573/0.3402, allocations: 0.5074 MB / 0.5953 GB, free: 1.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3403, allocations: 12.03 kB / 0.5953 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.3404, allocations: 8 kB / 0.5953 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3405, allocations: 117.1 kB / 0.5955 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3405, allocations: 0 / 0.5955 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3405, allocations: 8 kB / 0.5955 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3407, allocations: 77.67 kB / 0.5955 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3407, allocations: 3.938 kB / 0.5955 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.3407, allocations: 0 / 0.5955 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3407, allocations: 4 kB / 0.5955 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3408, allocations: 75.97 kB / 0.5956 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.3413, allocations: 303.7 kB / 0.5959 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/0.3413, allocations: 42.56 kB / 0.5959 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.3414, allocations: 20.92 kB / 0.596 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002793/0.3442, allocations: 0.7998 MB / 0.5967 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3442, allocations: 38.56 kB / 0.5968 GB, free: 328 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3442, allocations: 0 / 0.5968 GB, free: 328 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002765/0.3445, allocations: 117.6 kB / 0.5969 GB, free: 204 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.3445, allocations: 51.41 kB / 0.5969 GB, free: 140 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.3446, allocations: 97.86 kB / 0.597 GB, free: 32 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3446, allocations: 25.7 kB / 0.5971 GB, free: 0 / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.3447, allocations: 88.08 kB / 0.5971 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3447, allocations: 31.73 kB / 0.5972 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.3448, allocations: 29.7 kB / 0.5972 GB, free: 15.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3449, allocations: 318.8 kB / 0.5975 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.3449, allocations: 23.98 kB / 0.5975 GB, free: 15.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.345, allocations: 37.66 kB / 0.5976 GB, free: 15.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.3451, allocations: 61.7 kB / 0.5976 GB, free: 15.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3451, allocations: 0 / 0.5976 GB, free: 15.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001719/0.3453, allocations: 101.6 kB / 0.5977 GB, free: 15.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3453, allocations: 4 kB / 0.5977 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3453, allocations: 0 / 0.5977 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3453, allocations: 0 / 0.5977 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.3454, allocations: 12.31 kB / 0.5977 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3454, allocations: 7.984 kB / 0.5977 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.3454, allocations: 3.938 kB / 0.5977 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3454, allocations: 4.188 kB / 0.5978 GB, free: 15.25 MB / 446.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 8.527e-05/0.3455, allocations: 117.7 kB / 0.5979 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.3455, allocations: 11.98 kB / 0.5979 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3458, allocations: 145.7 kB / 0.598 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001526/0.3459, allocations: 124.2 kB / 0.5981 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3459, allocations: 4 kB / 0.5981 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3459, allocations: 0 / 0.5981 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.3465, allocations: 401.4 kB / 0.5985 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3465, allocations: 0 / 0.5985 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.3466, allocations: 16.23 kB / 0.5985 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3466, allocations: 7.938 kB / 0.5985 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3466, allocations: 15.94 kB / 0.5986 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3466, allocations: 0 / 0.5986 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3466, allocations: 0 / 0.5986 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.3468, allocations: 219.5 kB / 0.5988 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.3469, allocations: 7.938 kB / 0.5988 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3469, allocations: 8.203 kB / 0.5988 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.3469, allocations: 4 kB / 0.5988 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.347, allocations: 8 kB / 0.5988 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.347, allocations: 11.92 kB / 0.5988 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.895e-05/0.347, allocations: 79.28 kB / 0.5989 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.347, allocations: 3.938 kB / 0.5989 GB, free: 14.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002822/0.3498, allocations: 362.9 kB / 0.5992 GB, free: 13.66 MB / 446.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.01346/0.3633, allocations: 4.084 MB / 0.6032 GB, free: 9.555 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.3636, allocations: 109.6 kB / 0.6033 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3636, allocations: 0 / 0.6033 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.3637, allocations: 43.98 kB / 0.6034 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3641, allocations: 48.06 kB / 0.6034 GB, free: 9.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.3646, allocations: 251.4 kB / 0.6037 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.3649, allocations: 0.6924 MB / 0.6043 GB, free: 8.352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.3649, allocations: 15.44 kB / 0.6043 GB, free: 8.336 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3649, allocations: 0 / 0.6043 GB, free: 8.336 MB / 446.1 MB Notification: Performance of Templates: time 0.02597/0.3909, allocations: 19.48 MB / 0.6234 GB, free: 4.82 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.017311297822744]