Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001475/0.001475, 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.001618/0.001618, 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.346/1.346, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.2087/0.2087, allocations: 46.92 MB / 361.5 MB, free: 4.172 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_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 75.88 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2768, allocations: 66.08 MB / 0.5619 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01166/0.2884, allocations: 8.802 MB / 0.5705 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.3039, allocations: 14.16 MB / 0.5844 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.304, allocations: 0 / 0.5844 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.3042, allocations: 55.72 kB / 0.5844 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.3103, allocations: 2.455 MB / 0.5868 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.65e-05/0.3103, allocations: 15.97 kB / 0.5868 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3105, allocations: 127.2 kB / 0.587 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.3106, allocations: 4 kB / 0.587 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3107, allocations: 67.7 kB / 0.587 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3108, allocations: 47.83 kB / 0.5871 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.3108, allocations: 3.938 kB / 0.5871 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/0.3226, allocations: 7.364 MB / 0.5943 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.3226, allocations: 11.98 kB / 0.5943 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.6e-05/0.3227, allocations: 43.8 kB / 0.5943 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.3367, allocations: 6.344 MB / 0.6005 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3367, allocations: 0 / 0.6005 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3367, allocations: 0 / 0.6005 GB, free: 12.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3367, allocations: 0 / 0.6005 GB, free: 12.62 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.003497/0.3402, allocations: 0.6714 MB / 0.6012 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3402, allocations: 12.03 kB / 0.6012 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.3405, allocations: 23.94 kB / 0.6012 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3406, allocations: 113.2 kB / 0.6013 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.3406, allocations: 8 kB / 0.6013 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3406, allocations: 4 kB / 0.6013 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.341, allocations: 125.5 kB / 0.6014 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.341, allocations: 3.938 kB / 0.6014 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.341, allocations: 15.98 kB / 0.6015 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.341, allocations: 3.984 kB / 0.6015 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.3413, allocations: 115.9 kB / 0.6016 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.3421, allocations: 0.5849 MB / 0.6021 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.3425, allocations: 126.6 kB / 0.6023 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.3426, allocations: 52.83 kB / 0.6023 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002112/0.3447, allocations: 0.6399 MB / 0.6029 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.3451, allocations: 143.2 kB / 0.6031 GB, free: 9.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3451, allocations: 0 / 0.6031 GB, free: 9.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007413/0.3458, allocations: 231.7 kB / 0.6033 GB, free: 9.566 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3459, allocations: 59.41 kB / 0.6034 GB, free: 9.496 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.346, allocations: 105.8 kB / 0.6035 GB, free: 9.383 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.346, allocations: 25.7 kB / 0.6035 GB, free: 9.352 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.346, allocations: 99.86 kB / 0.6036 GB, free: 9.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.3461, allocations: 43.58 kB / 0.6036 GB, free: 9.207 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.3461, allocations: 37.7 kB / 0.6037 GB, free: 9.164 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3463, allocations: 322.8 kB / 0.604 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3464, allocations: 47.97 kB / 0.604 GB, free: 8.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3466, allocations: 68.42 kB / 0.6041 GB, free: 8.723 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.3468, allocations: 105.5 kB / 0.6042 GB, free: 8.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3468, allocations: 0 / 0.6042 GB, free: 8.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003821/0.3472, allocations: 162.7 kB / 0.6043 GB, free: 8.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3472, allocations: 6.344 kB / 0.6043 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3472, allocations: 0 / 0.6043 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3473, allocations: 4 kB / 0.6043 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3474, allocations: 31.91 kB / 0.6044 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3474, allocations: 0 / 0.6044 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.894e-05/0.3475, allocations: 19.88 kB / 0.6044 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3475, allocations: 8 kB / 0.6044 GB, free: 8.383 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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.0001/0.3476, allocations: 125.8 kB / 0.6045 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.3477, allocations: 7.953 kB / 0.6045 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.3483, allocations: 361.4 kB / 0.6049 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004376/0.3487, allocations: 305.6 kB / 0.6052 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3487, allocations: 0 / 0.6052 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3487, allocations: 3.984 kB / 0.6052 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3498, allocations: 0.6845 MB / 0.6058 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3498, allocations: 0 / 0.6058 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3499, allocations: 31.98 kB / 0.6059 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.3499, allocations: 4.031 kB / 0.6059 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3499, allocations: 7.984 kB / 0.6059 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3499, allocations: 0 / 0.6059 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3499, allocations: 256 / 0.6059 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.3506, allocations: 463.1 kB / 0.6063 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.3507, allocations: 19.81 kB / 0.6063 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.3507, allocations: 7.938 kB / 0.6063 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.3509, allocations: 27.97 kB / 0.6064 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.3509, allocations: 19.97 kB / 0.6064 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.351, allocations: 12.05 kB / 0.6064 GB, free: 6.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.351, allocations: 83.28 kB / 0.6065 GB, free: 6.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.351, allocations: 0 / 0.6065 GB, free: 6.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002436/0.3534, allocations: 454.7 kB / 0.6069 GB, free: 5.715 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01634/0.3698, allocations: 4.883 MB / 0.6117 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000539/0.3703, allocations: 197.4 kB / 0.6119 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3703, allocations: 0 / 0.6119 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.3706, allocations: 107.8 kB / 0.612 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.3711, allocations: 83.25 kB / 0.6121 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.372, allocations: 424.9 kB / 0.6125 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3723, allocations: 0.7134 MB / 0.6132 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.3724, allocations: 27.42 kB / 0.6132 GB, free: 15.22 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3724, allocations: 4 kB / 0.6132 GB, free: 15.21 MB / 462.1 MB Notification: Performance of Templates: time 0.02712/0.3995, allocations: 21.42 MB / 0.6341 GB, free: 9.762 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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: 9.100071005057544]