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.001486/0.001486, allocations: 111.6 kB / 21.19 MB, free: 0.5234 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.001657/0.001657, allocations: 209.8 kB / 24.48 MB, free: 3.695 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.456/1.456, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.2518/0.2518, allocations: 46.96 MB / 361.5 MB, free: 3.926 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.002295/0.002295, allocations: 79.88 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3827, allocations: 66.08 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01281/0.3955, allocations: 8.335 MB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.4116, allocations: 12.4 MB / 0.5821 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.4117, allocations: 0 / 0.5821 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.412, allocations: 43.8 kB / 0.5822 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00911/0.4211, allocations: 2.438 MB / 0.5846 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.4212, allocations: 15.92 kB / 0.5846 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.4215, allocations: 131.2 kB / 0.5847 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.4215, allocations: 3.938 kB / 0.5847 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.4217, allocations: 63.78 kB / 0.5848 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.4219, allocations: 47.77 kB / 0.5848 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.4219, allocations: 4 kB / 0.5848 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01332/0.4352, allocations: 7.267 MB / 0.5919 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.4353, allocations: 11.97 kB / 0.5919 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.4354, allocations: 43.8 kB / 0.592 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.4514, allocations: 6.332 MB / 0.5981 GB, free: 14.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.4514, allocations: 0 / 0.5981 GB, free: 14.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.4514, allocations: 7.984 kB / 0.5982 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.4514, allocations: 0 / 0.5982 GB, free: 14.73 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.004793/0.4562, allocations: 0.6675 MB / 0.5988 GB, free: 14.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4563, allocations: 8.031 kB / 0.5988 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.4565, allocations: 19.94 kB / 0.5988 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4566, allocations: 117.1 kB / 0.5989 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4567, allocations: 4 kB / 0.5989 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.4567, allocations: 12 kB / 0.599 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.4571, allocations: 206.7 kB / 0.5992 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.4572, allocations: 3.938 kB / 0.5992 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.4572, allocations: 4 kB / 0.5992 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.4572, allocations: 4 kB / 0.5992 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.4575, allocations: 111.9 kB / 0.5993 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.4582, allocations: 328.2 kB / 0.5996 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.4587, allocations: 130.6 kB / 0.5997 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.4588, allocations: 44.83 kB / 0.5998 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/0.4611, allocations: 0.6399 MB / 0.6004 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004443/0.4615, allocations: 228.3 kB / 0.6006 GB, free: 12.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.4615, allocations: 0 / 0.6006 GB, free: 12.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008401/0.4624, allocations: 231.6 kB / 0.6008 GB, free: 11.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.4624, allocations: 51.41 kB / 0.6009 GB, free: 11.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/0.4625, allocations: 105.8 kB / 0.601 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.4625, allocations: 29.7 kB / 0.601 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.4626, allocations: 103.8 kB / 0.6011 GB, free: 11.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.4627, allocations: 47.56 kB / 0.6011 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.4627, allocations: 45.64 kB / 0.6012 GB, free: 11.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4629, allocations: 322.8 kB / 0.6015 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.463, allocations: 43.97 kB / 0.6015 GB, free: 11.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.4632, allocations: 68.42 kB / 0.6016 GB, free: 10.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.4634, allocations: 112.3 kB / 0.6017 GB, free: 10.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4634, allocations: 256 / 0.6017 GB, free: 10.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004067/0.4638, allocations: 157.5 kB / 0.6019 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4639, allocations: 7.938 kB / 0.6019 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.4639, allocations: 4 kB / 0.6019 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4639, allocations: 0 / 0.6019 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.464, allocations: 27.98 kB / 0.6019 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.464, allocations: 7.922 kB / 0.6019 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4641, allocations: 19.94 kB / 0.6019 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.4642, allocations: 4 kB / 0.6019 GB, free: 10.64 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.0001243/0.4643, allocations: 125.7 kB / 0.602 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.4644, allocations: 11.95 kB / 0.6021 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.4651, allocations: 365.2 kB / 0.6024 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004663/0.4656, allocations: 301.6 kB / 0.6027 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4656, allocations: 0 / 0.6027 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.4656, allocations: 3.984 kB / 0.6027 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.4667, allocations: 0.6422 MB / 0.6033 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4667, allocations: 3.938 kB / 0.6033 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.4668, allocations: 35.92 kB / 0.6034 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4668, allocations: 0 / 0.6034 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.4669, allocations: 0 / 0.6034 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4669, allocations: 4 kB / 0.6034 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4669, allocations: 0 / 0.6034 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.4676, allocations: 467.2 kB / 0.6038 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.4676, allocations: 15.88 kB / 0.6038 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.4677, allocations: 0 / 0.6038 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.4679, allocations: 31.91 kB / 0.6039 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.4679, allocations: 19.97 kB / 0.6039 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.468, allocations: 7.984 kB / 0.6039 GB, free: 8.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.468, allocations: 83.28 kB / 0.604 GB, free: 8.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.468, allocations: 4 kB / 0.604 GB, free: 8.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003059/0.4711, allocations: 462.7 kB / 0.6044 GB, free: 8.02 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.01839/0.4895, allocations: 4.883 MB / 0.6092 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007475/0.4902, allocations: 193.5 kB / 0.6094 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4902, allocations: 0 / 0.6094 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.4905, allocations: 111.9 kB / 0.6095 GB, free: 2.812 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.4911, allocations: 77.97 kB / 0.6095 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.4921, allocations: 412.9 kB / 0.6099 GB, free: 2.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.4922, allocations: 115.1 kB / 0.61 GB, free: 2.164 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.4923, allocations: 23.42 kB / 0.6101 GB, free: 2.145 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4923, allocations: 0 / 0.6101 GB, free: 2.145 MB / 446.1 MB Notification: Performance of Templates: time 0.03075/0.523, allocations: 21.48 MB / 0.631 GB, free: 12.64 MB / 478.1 MB " [Timeout remaining time 659] 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: 10.086586041987175]