Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.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.007996/0.007996, allocations: 110.2 kB / 21.98 MB, free: 5.184 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.00204/0.00204, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 259 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 69 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2749, allocations: 53.36 MB / 433.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04824/0.3231, allocations: 38.32 MB / 471.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03737/0.3605, allocations: 30.86 MB / 0.4906 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006355/0.3611, allocations: 15.81 kB / 0.4906 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.3624, allocations: 425.6 kB / 0.491 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.3638, allocations: 0.5361 MB / 0.4915 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0154/0.3792, allocations: 5.28 MB / 0.4967 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.3815, allocations: 1.383 MB / 0.498 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.3819, allocations: 123 kB / 0.4981 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.383, allocations: 0.5372 MB / 0.4987 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.3836, allocations: 470.1 kB / 0.4991 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.752e-05/0.3837, allocations: 56 kB / 0.4992 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02633/0.4101, allocations: 12.96 MB / 0.5118 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.4104, allocations: 151.5 kB / 0.512 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006355/0.4111, allocations: 322.8 kB / 0.5123 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03923/0.4503, allocations: 14.95 MB / 0.5269 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.4503, allocations: 0 / 0.5269 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4503, allocations: 0 / 0.5269 GB, free: 12.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.4503, allocations: 0 / 0.5269 GB, free: 12.33 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.009347/0.4597, allocations: 1.412 MB / 0.5283 GB, free: 10.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4597, allocations: 12.03 kB / 0.5283 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/0.4606, allocations: 95.58 kB / 0.5284 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/0.4613, allocations: 328.2 kB / 0.5287 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.4613, allocations: 36.94 kB / 0.5287 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.4614, allocations: 48 kB / 0.5288 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.4627, allocations: 0.6205 MB / 0.5294 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.4627, allocations: 11.89 kB / 0.5294 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.4628, allocations: 16 kB / 0.5294 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.4628, allocations: 12 kB / 0.5294 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.4638, allocations: 0.5347 MB / 0.5299 GB, free: 9.105 MB / 446.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.00458/0.4684, allocations: 3.66 MB / 0.5335 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.4694, allocations: 401.3 kB / 0.5339 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.4698, allocations: 189.5 kB / 0.5341 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001959/0.4717, allocations: 0.6246 MB / 0.5347 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.4718, allocations: 34.94 kB / 0.5347 GB, free: 3.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.755e-06/0.4718, allocations: 4 kB / 0.5347 GB, free: 3.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01036/0.4821, allocations: 1.894 MB / 0.5366 GB, free: 1.977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.4822, allocations: 67.78 kB / 0.5366 GB, free: 1.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.4826, allocations: 300.5 kB / 0.5369 GB, free: 1.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.4826, allocations: 37.7 kB / 0.5369 GB, free: 1.551 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.4828, allocations: 241.1 kB / 0.5372 GB, free: 1.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.483, allocations: 194.3 kB / 0.5374 GB, free: 1.121 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.4832, allocations: 118.3 kB / 0.5375 GB, free: 1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4834, allocations: 354.8 kB / 0.5378 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.4837, allocations: 177.2 kB / 0.538 GB, free: 484 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.4841, allocations: 335 kB / 0.5383 GB, free: 92 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2326/0.7167, allocations: 0.541 MB / 0.5388 GB, free: 96.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.7167, allocations: 2.5 kB / 0.5388 GB, free: 96.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002072/0.7188, allocations: 0.6714 MB / 0.5395 GB, free: 96.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.7188, allocations: 12.66 kB / 0.5395 GB, free: 96.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.7188, allocations: 4.984 kB / 0.5395 GB, free: 96.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/0.7312, allocations: 473 kB / 0.5399 GB, free: 96.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/0.732, allocations: 151.1 kB / 0.5401 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.734, allocations: 2.977 MB / 0.543 GB, free: 93.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.7344, allocations: 18.28 kB / 0.543 GB, free: 93.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.7345, allocations: 29.64 kB / 0.543 GB, free: 93.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003512/0.7348, allocations: 196.3 kB / 0.5432 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.7351, allocations: 44.62 kB / 0.5433 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.7373, allocations: 1.08 MB / 0.5443 GB, free: 92.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.7373, allocations: 8.531 kB / 0.5443 GB, free: 92.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7373, allocations: 0 / 0.5443 GB, free: 92.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/0.7389, allocations: 1.117 MB / 0.5454 GB, free: 91.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.7415, allocations: 1.739 MB / 0.5471 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.7415, allocations: 0 / 0.5471 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.7419, allocations: 101.5 kB / 0.5472 GB, free: 90.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/0.7451, allocations: 354.1 kB / 0.5476 GB, free: 90.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.7451, allocations: 11.97 kB / 0.5476 GB, free: 90.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005278/0.7456, allocations: 1.154 MB / 0.5487 GB, free: 89.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7456, allocations: 0.8125 kB / 0.5487 GB, free: 89.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.747, allocations: 1.149 MB / 0.5498 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.7471, allocations: 46.78 kB / 0.5499 GB, free: 89.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.7472, allocations: 20.16 kB / 0.5499 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.7475, allocations: 11.97 kB / 0.5499 GB, free: 89.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.7475, allocations: 36.02 kB / 0.5499 GB, free: 89.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.7476, allocations: 28.89 kB / 0.55 GB, free: 89.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.7478, allocations: 250.4 kB / 0.5502 GB, free: 89.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7478, allocations: 0.7812 kB / 0.5502 GB, free: 89.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006508/0.7543, allocations: 0.9798 MB / 0.5512 GB, free: 88.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.02953/0.7839, allocations: 7.892 MB / 0.5589 GB, free: 84.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.7856, allocations: 0.6876 MB / 0.5595 GB, free: 83.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7857, allocations: 0 / 0.5595 GB, free: 83.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.7862, allocations: 349.5 kB / 0.5599 GB, free: 83.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.7875, allocations: 270.8 kB / 0.5601 GB, free: 83.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.7895, allocations: 1.372 MB / 0.5615 GB, free: 81.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.7898, allocations: 0.8682 MB / 0.5623 GB, free: 81.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.7899, allocations: 55.19 kB / 0.5624 GB, free: 81.08 MB / 446.1 MB Notification: Performance of SimCode: time 1.933e-06/0.7899, allocations: 0 / 0.5624 GB, free: 81.08 MB / 446.1 MB Notification: Performance of Templates: time 0.04077/0.8307, allocations: 38.85 MB / 0.6003 GB, free: 42.66 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.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: 12.206485445145518]