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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 104 kB / 19.6 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 191.3 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 251.4 MB, free: 13.38 MB / 206.1 MB [Timeout remaining time 88] 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.001486/0.001486, allocations: 43.92 kB / 369.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3236, allocations: 52.14 MB / 421.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.05522/0.3789, allocations: 26.77 MB / 448.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04094/0.4198, allocations: 24.95 MB / 473 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000505/0.4203, allocations: 4 kB / 473 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.4215, allocations: 306.3 kB / 473.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.4226, allocations: 377.8 kB / 473.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01276/0.4353, allocations: 4.096 MB / 477.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.4368, allocations: 0.9503 MB / 478.7 MB, free: 5.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.4371, allocations: 77.05 kB / 478.8 MB, free: 5.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.4378, allocations: 402.6 kB / 479.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.4382, allocations: 306.8 kB / 479.5 MB, free: 4.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.4383, allocations: 40 kB / 479.5 MB, free: 4.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02212/0.4604, allocations: 10.49 MB / 490 MB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.4607, allocations: 111.7 kB / 490.1 MB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.4611, allocations: 227.1 kB / 490.4 MB, free: 9.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03549/0.4966, allocations: 11.49 MB / 0.4901 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4966, allocations: 3.938 kB / 0.4901 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4966, allocations: 0 / 0.4901 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.4966, allocations: 0 / 0.4901 GB, free: 14.36 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.007023/0.5036, allocations: 1.18 MB / 0.4912 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5037, allocations: 8.031 kB / 0.4912 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/0.5043, allocations: 79.67 kB / 0.4913 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.5049, allocations: 319 kB / 0.4916 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.5049, allocations: 28.66 kB / 0.4917 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.505, allocations: 28 kB / 0.4917 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/0.5059, allocations: 467.7 kB / 0.4921 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.506, allocations: 4 kB / 0.4921 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.506, allocations: 12 kB / 0.4921 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.506, allocations: 8 kB / 0.4921 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007994/0.5068, allocations: 386.3 kB / 0.4925 GB, free: 11.73 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.004211/0.511, allocations: 2.961 MB / 0.4954 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.5118, allocations: 289.6 kB / 0.4957 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.512, allocations: 120.8 kB / 0.4958 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002736/0.5148, allocations: 2.466 MB / 0.4982 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.5148, allocations: 42.56 kB / 0.4982 GB, free: 5.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.5148, allocations: 0 / 0.4982 GB, free: 5.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005674/0.5205, allocations: 1.295 MB / 0.4995 GB, free: 3.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.5205, allocations: 55.41 kB / 0.4996 GB, free: 3.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.5209, allocations: 266.6 kB / 0.4998 GB, free: 3.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.5209, allocations: 33.7 kB / 0.4999 GB, free: 3.363 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.5211, allocations: 188.4 kB / 0.5 GB, free: 3.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.5212, allocations: 130.9 kB / 0.5002 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.5214, allocations: 86.12 kB / 0.5002 GB, free: 2.957 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5215, allocations: 338.8 kB / 0.5006 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.5218, allocations: 108.8 kB / 0.5007 GB, free: 2.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.5221, allocations: 230 kB / 0.5009 GB, free: 2.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/0.5227, allocations: 377.5 kB / 0.5012 GB, free: 1.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5227, allocations: 0 / 0.5012 GB, free: 1.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000948/0.5236, allocations: 466.8 kB / 0.5017 GB, free: 1.348 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.5236, allocations: 8 kB / 0.5017 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5236, allocations: 4 kB / 0.5017 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005/0.5286, allocations: 233.4 kB / 0.5019 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.5291, allocations: 83.91 kB / 0.502 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.531, allocations: 1.943 MB / 0.5039 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.5313, allocations: 16 kB / 0.5039 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.5313, allocations: 19.94 kB / 0.5039 GB, free: 14.88 MB / 430.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.000282/0.5316, allocations: 169.6 kB / 0.5041 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.5318, allocations: 39.73 kB / 0.5041 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.533, allocations: 0.693 MB / 0.5048 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.533, allocations: 7.984 kB / 0.5048 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.533, allocations: 0 / 0.5048 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/0.534, allocations: 0.8601 MB / 0.5057 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.5359, allocations: 1.187 MB / 0.5068 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.5359, allocations: 64 / 0.5068 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.5363, allocations: 71.89 kB / 0.5069 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/0.5388, allocations: 184.5 kB / 0.5071 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.5388, allocations: 8 kB / 0.5071 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006496/0.5395, allocations: 0.5719 MB / 0.5076 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5395, allocations: 3.938 kB / 0.5076 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5412, allocations: 0.7314 MB / 0.5083 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.5413, allocations: 108.9 kB / 0.5085 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.5414, allocations: 15.89 kB / 0.5085 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.5418, allocations: 15.94 kB / 0.5085 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.5418, allocations: 24.06 kB / 0.5085 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.5419, allocations: 19.98 kB / 0.5085 GB, free: 9.941 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.5423, allocations: 218 kB / 0.5087 GB, free: 9.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5423, allocations: 0 / 0.5087 GB, free: 9.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007016/0.5493, allocations: 0.7481 MB / 0.5095 GB, free: 8.98 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.04017/0.5895, allocations: 6.398 MB / 0.5157 GB, free: 2.562 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.591, allocations: 474.6 kB / 0.5162 GB, free: 2.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.591, allocations: 0 / 0.5162 GB, free: 2.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.5916, allocations: 208.2 kB / 0.5164 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.5932, allocations: 191.1 kB / 0.5165 GB, free: 1.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.5958, allocations: 0.9368 MB / 0.5175 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/0.5964, allocations: 0.8012 MB / 0.5182 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.5966, allocations: 47.42 kB / 0.5183 GB, free: 15.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5966, allocations: 0 / 0.5183 GB, free: 15.86 MB / 446.1 MB Notification: Performance of Templates: time 0.2567/0.8533, allocations: 29.25 MB / 0.5469 GB, free: 98.96 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/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