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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001846/0.001846, 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.002206/0.002206, 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.347/1.347, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.2082/0.2082, allocations: 46.93 MB / 361.5 MB, free: 4.18 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 75.88 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2841, allocations: 66.09 MB / 0.5619 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0113/0.2954, allocations: 8.483 MB / 0.5702 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.3075, allocations: 11.27 MB / 0.5812 GB, free: 408 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.3076, allocations: 0 / 0.5812 GB, free: 408 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.3078, allocations: 43.81 kB / 0.5813 GB, free: 364 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005834/0.3136, allocations: 1.87 MB / 0.5831 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.054e-05/0.3136, allocations: 0 / 0.5831 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3138, allocations: 47.62 kB / 0.5831 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.3138, allocations: 7.984 kB / 0.5832 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.314, allocations: 35.78 kB / 0.5832 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.314, allocations: 15.94 kB / 0.5832 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.314, allocations: 4 kB / 0.5832 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009785/0.3238, allocations: 6.748 MB / 0.5898 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.3238, allocations: 11.97 kB / 0.5898 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.3239, allocations: 19.88 kB / 0.5898 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.3353, allocations: 5.088 MB / 0.5948 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3353, allocations: 0 / 0.5948 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3353, allocations: 0 / 0.5948 GB, free: 2.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3353, allocations: 0 / 0.5948 GB, free: 2.492 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.002666/0.338, allocations: 0.5152 MB / 0.5953 GB, free: 1.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.338, allocations: 12.03 kB / 0.5953 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3382, allocations: 7.984 kB / 0.5953 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3383, allocations: 109.2 kB / 0.5954 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3383, allocations: 7.922 kB / 0.5954 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3383, allocations: 8 kB / 0.5954 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3385, allocations: 73.67 kB / 0.5955 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3385, allocations: 3.938 kB / 0.5955 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3385, allocations: 4 kB / 0.5955 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3385, allocations: 8 kB / 0.5955 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3386, allocations: 79.95 kB / 0.5956 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.3391, allocations: 291.8 kB / 0.5959 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/0.3392, allocations: 38.52 kB / 0.5959 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.3392, allocations: 24.91 kB / 0.5959 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002838/0.342, allocations: 0.8115 MB / 0.5967 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3421, allocations: 34.56 kB / 0.5968 GB, free: 356 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 3.236e-06/0.3421, allocations: 3.984 kB / 0.5968 GB, free: 352 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002714/0.3423, allocations: 117.7 kB / 0.5969 GB, free: 228 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.3424, allocations: 55.41 kB / 0.5969 GB, free: 160 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.3424, allocations: 97.84 kB / 0.597 GB, free: 52 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3425, allocations: 29.7 kB / 0.5971 GB, free: 16 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.3425, allocations: 84.09 kB / 0.5971 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3426, allocations: 31.73 kB / 0.5972 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.3426, allocations: 21.72 kB / 0.5972 GB, free: 15.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3427, allocations: 318.8 kB / 0.5975 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.3428, allocations: 20 kB / 0.5975 GB, free: 15.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.3428, allocations: 41.7 kB / 0.5976 GB, free: 15.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.574e-05/0.3429, allocations: 65.66 kB / 0.5976 GB, free: 15.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3429, allocations: 0 / 0.5976 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001654/0.3431, allocations: 97.56 kB / 0.5977 GB, free: 15.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3431, allocations: 4 kB / 0.5977 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3431, allocations: 0 / 0.5977 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3431, allocations: 384 / 0.5977 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.3432, allocations: 8 kB / 0.5977 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3432, allocations: 8.031 kB / 0.5977 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.3432, allocations: 3.938 kB / 0.5977 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3432, allocations: 11.94 kB / 0.5977 GB, free: 15.28 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.694e-05/0.3433, allocations: 113.7 kB / 0.5979 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.3433, allocations: 11.89 kB / 0.5979 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.3436, allocations: 149.7 kB / 0.598 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001429/0.3437, allocations: 117.6 kB / 0.5981 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3437, allocations: 4 kB / 0.5981 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3437, allocations: 0 / 0.5981 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.3442, allocations: 413.4 kB / 0.5985 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3442, allocations: 0 / 0.5985 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.3443, allocations: 12 kB / 0.5985 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3443, allocations: 0 / 0.5985 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3443, allocations: 7.938 kB / 0.5985 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3443, allocations: 3.984 kB / 0.5985 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3443, allocations: 0 / 0.5985 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.3445, allocations: 231.4 kB / 0.5988 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.3445, allocations: 3.938 kB / 0.5988 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3445, allocations: 3.938 kB / 0.5988 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.3446, allocations: 8 kB / 0.5988 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.3446, allocations: 3.984 kB / 0.5988 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.3446, allocations: 4.25 kB / 0.5988 GB, free: 14.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.3447, allocations: 79.28 kB / 0.5989 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3447, allocations: 0 / 0.5989 GB, free: 14.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001939/0.3466, allocations: 370.9 kB / 0.5992 GB, free: 13.69 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.01313/0.3597, allocations: 4.084 MB / 0.6032 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.36, allocations: 101.7 kB / 0.6033 GB, free: 9.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.36, allocations: 192 / 0.6033 GB, free: 9.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.913e-05/0.3601, allocations: 59.86 kB / 0.6034 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3605, allocations: 38.2 kB / 0.6034 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.361, allocations: 251.3 kB / 0.6036 GB, free: 9.105 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3613, allocations: 0.6963 MB / 0.6043 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.3613, allocations: 15.44 kB / 0.6043 GB, free: 8.367 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3613, allocations: 3.938 kB / 0.6043 GB, free: 8.363 MB / 446.1 MB Notification: Performance of Templates: time 0.0244/0.3857, allocations: 19.49 MB / 0.6234 GB, free: 4.836 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.336194039788097]