Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 184.4 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 252.5 MB, free: 12.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 51.92 kB / 370.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2282, allocations: 52.19 MB / 423.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03271/0.2609, allocations: 26.97 MB / 450.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03014/0.2911, allocations: 25.05 MB / 475.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.2915, allocations: 7.938 kB / 475.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008672/0.2923, allocations: 310.3 kB / 475.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000784/0.2931, allocations: 377.8 kB / 475.8 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01105/0.3042, allocations: 4.123 MB / 480 MB, free: 5.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.3056, allocations: 0.9659 MB / 480.9 MB, free: 4.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.3058, allocations: 77.23 kB / 481 MB, free: 4.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000642/0.3065, allocations: 398.6 kB / 481.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.3069, allocations: 318.7 kB / 481.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.3069, allocations: 39.94 kB / 481.7 MB, free: 3.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02099/0.3279, allocations: 10.53 MB / 492.3 MB, free: 9.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.3282, allocations: 119.6 kB / 492.4 MB, free: 9.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.3286, allocations: 219.2 kB / 492.6 MB, free: 8.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03406/0.3627, allocations: 11.51 MB / 0.4923 GB, free: 13.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3627, allocations: 0 / 0.4923 GB, free: 13.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3627, allocations: 0 / 0.4923 GB, free: 13.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.3627, allocations: 0 / 0.4923 GB, free: 13.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006933/0.3696, allocations: 1.101 MB / 0.4934 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3697, allocations: 12.03 kB / 0.4934 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/0.3703, allocations: 67.73 kB / 0.4934 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.3708, allocations: 268.5 kB / 0.4937 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.3708, allocations: 28.64 kB / 0.4937 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.3709, allocations: 32 kB / 0.4938 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000957/0.3719, allocations: 463.8 kB / 0.4942 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3719, allocations: 7.922 kB / 0.4942 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.3719, allocations: 16 kB / 0.4942 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.3719, allocations: 12 kB / 0.4942 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.3727, allocations: 386.3 kB / 0.4946 GB, free: 10.96 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.3765, allocations: 2.81 MB / 0.4973 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/0.3772, allocations: 293 kB / 0.4976 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.3775, allocations: 128.8 kB / 0.4977 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/0.379, allocations: 463.3 kB / 0.4982 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3791, allocations: 42.56 kB / 0.4982 GB, free: 7.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.3791, allocations: 0 / 0.4982 GB, free: 7.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005287/0.3843, allocations: 1.15 MB / 0.4994 GB, free: 5.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3844, allocations: 59.39 kB / 0.4994 GB, free: 5.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.3847, allocations: 253.9 kB / 0.4997 GB, free: 5.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.3847, allocations: 33.7 kB / 0.4997 GB, free: 5.465 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3849, allocations: 196.4 kB / 0.4999 GB, free: 5.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.385, allocations: 134.8 kB / 0.5 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3851, allocations: 82.12 kB / 0.5001 GB, free: 5.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3853, allocations: 338.8 kB / 0.5004 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3855, allocations: 108.8 kB / 0.5005 GB, free: 4.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.3858, allocations: 230 kB / 0.5007 GB, free: 4.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.3863, allocations: 370 kB / 0.5011 GB, free: 3.918 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3864, allocations: 4 kB / 0.5011 GB, free: 3.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008742/0.3872, allocations: 466.8 kB / 0.5015 GB, free: 3.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3872, allocations: 4 kB / 0.5015 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3873, allocations: 4 kB / 0.5015 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004934/0.3922, allocations: 229.4 kB / 0.5018 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.3926, allocations: 91.83 kB / 0.5018 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.3942, allocations: 1.84 MB / 0.5036 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.3944, allocations: 12 kB / 0.5036 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.3945, allocations: 20 kB / 0.5037 GB, free: 1.109 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.3947, allocations: 165.7 kB / 0.5038 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-05/0.3948, allocations: 35.81 kB / 0.5039 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.3959, allocations: 0.7087 MB / 0.5046 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.3959, allocations: 11.94 kB / 0.5046 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3959, allocations: 0 / 0.5046 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009547/0.3969, allocations: 0.8713 MB / 0.5054 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.3985, allocations: 1.194 MB / 0.5066 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3985, allocations: 4 kB / 0.5066 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.3988, allocations: 63.91 kB / 0.5066 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/0.4005, allocations: 180.5 kB / 0.5068 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.4005, allocations: 8 kB / 0.5068 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004081/0.4009, allocations: 0.5758 MB / 0.5074 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4009, allocations: 3.938 kB / 0.5074 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.402, allocations: 0.7422 MB / 0.5081 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.402, allocations: 27.81 kB / 0.5081 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.4021, allocations: 15.89 kB / 0.5082 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.4023, allocations: 11.94 kB / 0.5082 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.4023, allocations: 32.05 kB / 0.5082 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.4024, allocations: 15.98 kB / 0.5082 GB, free: 12.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002442/0.4026, allocations: 223.1 kB / 0.5084 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4026, allocations: 0 / 0.5084 GB, free: 12.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004108/0.4067, allocations: 0.7442 MB / 0.5092 GB, free: 11.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02541/0.4321, allocations: 6.407 MB / 0.5154 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.4332, allocations: 470 kB / 0.5159 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4332, allocations: 4 kB / 0.5159 GB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.4336, allocations: 208.9 kB / 0.5161 GB, free: 4.168 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.4347, allocations: 181.3 kB / 0.5162 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.4363, allocations: 0.9122 MB / 0.5171 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.4368, allocations: 0.8091 MB / 0.5179 GB, free: 2.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004112/0.4372, allocations: 191.7 kB / 0.5181 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/0.4373, allocations: 39.42 kB / 0.5181 GB, free: 1.992 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4373, allocations: 0 / 0.5181 GB, free: 1.992 MB / 430.1 MB Notification: Performance of Templates: time 0.2342/0.6715, allocations: 29.42 MB / 0.5469 GB, free: 103 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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.10535651165992]