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.001701/0.001701, allocations: 115 kB / 21.23 MB, free: 0.5781 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.001478/0.001478, allocations: 210.8 kB / 24.52 MB, free: 3.848 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.438/1.438, allocations: 230.5 MB / 258.2 MB, free: 7.703 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.22/0.22, allocations: 46.96 MB / 361.6 MB, free: 3.871 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.00242/0.00242, allocations: 79.88 kB / 0.4974 GB, free: 7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3045, allocations: 66.08 MB / 0.562 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01287/0.3173, allocations: 8.334 MB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.3331, allocations: 12.4 MB / 0.5822 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.3332, allocations: 0 / 0.5822 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.3334, allocations: 39.8 kB / 0.5823 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007283/0.3407, allocations: 2.434 MB / 0.5846 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.3408, allocations: 19.92 kB / 0.5846 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.341, allocations: 131.2 kB / 0.5848 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.3411, allocations: 0 / 0.5848 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.3412, allocations: 59.78 kB / 0.5848 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3414, allocations: 47.77 kB / 0.5849 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3414, allocations: 7.938 kB / 0.5849 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.3531, allocations: 7.126 MB / 0.5918 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.3532, allocations: 15.97 kB / 0.5919 GB, free: 5.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3533, allocations: 43.8 kB / 0.5919 GB, free: 5.199 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.3689, allocations: 6.329 MB / 0.5981 GB, free: 14.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3689, allocations: 0 / 0.5981 GB, free: 14.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3689, allocations: 0 / 0.5981 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3689, allocations: 0 / 0.5981 GB, free: 14.86 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.003875/0.3728, allocations: 0.6714 MB / 0.5987 GB, free: 14.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3728, allocations: 8.031 kB / 0.5987 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.373, allocations: 31.94 kB / 0.5988 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3731, allocations: 117.1 kB / 0.5989 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.3732, allocations: 8 kB / 0.5989 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.3732, allocations: 12 kB / 0.5989 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.3736, allocations: 202.7 kB / 0.5991 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3736, allocations: 3.938 kB / 0.5991 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3737, allocations: 0 / 0.5991 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3737, allocations: 4 kB / 0.5991 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.374, allocations: 115.9 kB / 0.5992 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.3746, allocations: 328.2 kB / 0.5995 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.3752, allocations: 130.6 kB / 0.5997 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3753, allocations: 44.83 kB / 0.5997 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00229/0.3776, allocations: 0.6477 MB / 0.6003 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.378, allocations: 216.4 kB / 0.6005 GB, free: 12.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.378, allocations: 0 / 0.6005 GB, free: 12.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008153/0.3789, allocations: 239.1 kB / 0.6008 GB, free: 11.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.3789, allocations: 51.41 kB / 0.6008 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.379, allocations: 109.8 kB / 0.6009 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.379, allocations: 29.7 kB / 0.6009 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.3791, allocations: 95.88 kB / 0.601 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.3791, allocations: 47.56 kB / 0.6011 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.3792, allocations: 45.64 kB / 0.6011 GB, free: 11.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.3794, allocations: 322.8 kB / 0.6014 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3796, allocations: 43.97 kB / 0.6015 GB, free: 11.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.3797, allocations: 68.42 kB / 0.6015 GB, free: 11.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.3801, allocations: 108.9 kB / 0.6016 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3801, allocations: 0 / 0.6016 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004041/0.3805, allocations: 157.5 kB / 0.6018 GB, free: 10.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3805, allocations: 4 kB / 0.6018 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3805, allocations: 0 / 0.6018 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3805, allocations: 4 kB / 0.6018 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3806, allocations: 31.86 kB / 0.6018 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3806, allocations: 0 / 0.6018 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3807, allocations: 19.94 kB / 0.6019 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.3808, allocations: 7.984 kB / 0.6019 GB, free: 10.77 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.0001111/0.3809, allocations: 125.7 kB / 0.602 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.3809, allocations: 15.98 kB / 0.602 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.3816, allocations: 365.2 kB / 0.6023 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004716/0.3821, allocations: 301.6 kB / 0.6026 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3821, allocations: 0 / 0.6026 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3821, allocations: 3.984 kB / 0.6026 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.3831, allocations: 0.6424 MB / 0.6033 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3831, allocations: 3.938 kB / 0.6033 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.3833, allocations: 35.92 kB / 0.6033 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3833, allocations: 0 / 0.6033 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3833, allocations: 4 kB / 0.6033 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3833, allocations: 4 kB / 0.6033 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3833, allocations: 4 kB / 0.6033 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.3841, allocations: 463.2 kB / 0.6038 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.3841, allocations: 15.88 kB / 0.6038 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3841, allocations: 0 / 0.6038 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.3843, allocations: 31.97 kB / 0.6038 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.3844, allocations: 23.97 kB / 0.6038 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.3844, allocations: 7.984 kB / 0.6038 GB, free: 8.672 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.3844, allocations: 83.28 kB / 0.6039 GB, free: 8.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3844, allocations: 4 kB / 0.6039 GB, free: 8.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002625/0.3871, allocations: 454.7 kB / 0.6043 GB, free: 8.141 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.01782/0.4049, allocations: 4.883 MB / 0.6091 GB, free: 3.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006323/0.4055, allocations: 193.5 kB / 0.6093 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4055, allocations: 0 / 0.6093 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.4057, allocations: 107.9 kB / 0.6094 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.4063, allocations: 83.77 kB / 0.6095 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.4072, allocations: 391.2 kB / 0.6099 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.4073, allocations: 103.1 kB / 0.61 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.4074, allocations: 52.86 kB / 0.61 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.4075, allocations: 23.44 kB / 0.61 GB, free: 2.246 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4075, allocations: 0 / 0.61 GB, free: 2.246 MB / 446.1 MB Notification: Performance of Templates: time 0.03281/0.4403, allocations: 21.28 MB / 0.6308 GB, free: 13 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 7.7609702630434185]