Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.772/1.772, allocations: 230.6 MB / 258.2 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3651, allocations: 53.36 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03561/0.4007, allocations: 24.71 MB / 457 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02934/0.43, allocations: 22.07 MB / 479.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.4305, allocations: 7.938 kB / 479.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.4315, allocations: 278.4 kB / 479.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.4325, allocations: 385.9 kB / 479.8 MB, free: 7.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01519/0.4477, allocations: 4.11 MB / 483.9 MB, free: 3.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.4494, allocations: 0.962 MB / 484.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.4498, allocations: 84.23 kB / 484.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.4509, allocations: 406.6 kB / 485.3 MB, free: 1.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007154/0.4516, allocations: 318.7 kB / 485.6 MB, free: 1.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.4517, allocations: 40 kB / 485.7 MB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02373/0.4754, allocations: 10.37 MB / 496 MB, free: 6.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.4758, allocations: 111.6 kB / 496.2 MB, free: 6.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005368/0.4763, allocations: 191.3 kB / 496.3 MB, free: 6.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0376/0.5139, allocations: 11.51 MB / 0.4959 GB, free: 11.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5139, allocations: 0 / 0.4959 GB, free: 11.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5139, allocations: 4 kB / 0.496 GB, free: 11.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.967e-05/0.514, allocations: 0 / 0.496 GB, free: 11.03 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.007905/0.5219, allocations: 1.101 MB / 0.497 GB, free: 9.891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5219, allocations: 8.031 kB / 0.497 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/0.5226, allocations: 71.73 kB / 0.4971 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006556/0.5233, allocations: 264.6 kB / 0.4974 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.5233, allocations: 28.66 kB / 0.4974 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.5234, allocations: 28 kB / 0.4974 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5246, allocations: 0.6151 MB / 0.498 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.5246, allocations: 3.953 kB / 0.498 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.5247, allocations: 12 kB / 0.498 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.5247, allocations: 8 kB / 0.498 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.5256, allocations: 390.2 kB / 0.4984 GB, free: 8.379 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.004148/0.5297, allocations: 2.165 MB / 0.5005 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/0.5305, allocations: 286.8 kB / 0.5008 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.5307, allocations: 120.8 kB / 0.5009 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/0.5323, allocations: 471.4 kB / 0.5014 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.5323, allocations: 38.5 kB / 0.5014 GB, free: 5.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.764e-06/0.5323, allocations: 0 / 0.5014 GB, free: 5.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.006585/0.5389, allocations: 1.151 MB / 0.5025 GB, free: 4.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.539, allocations: 55.41 kB / 0.5026 GB, free: 3.969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.5393, allocations: 232 kB / 0.5028 GB, free: 3.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.5393, allocations: 33.7 kB / 0.5028 GB, free: 3.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.5394, allocations: 196.3 kB / 0.503 GB, free: 3.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.5396, allocations: 126.9 kB / 0.5031 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.5397, allocations: 82.12 kB / 0.5032 GB, free: 3.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5399, allocations: 338.8 kB / 0.5035 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.5401, allocations: 116.8 kB / 0.5036 GB, free: 2.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.5404, allocations: 234 kB / 0.5039 GB, free: 2.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.541, allocations: 378 kB / 0.5042 GB, free: 2.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.541, allocations: 4 kB / 0.5042 GB, free: 2.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001265/0.5423, allocations: 458.9 kB / 0.5047 GB, free: 1.672 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.5423, allocations: 7.938 kB / 0.5047 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.5423, allocations: 4 kB / 0.5047 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007557/0.5499, allocations: 245.4 kB / 0.5049 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.5503, allocations: 87.89 kB / 0.505 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.552, allocations: 1.817 MB / 0.5068 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.5523, allocations: 16 kB / 0.5068 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.5523, allocations: 20 kB / 0.5068 GB, free: 15.35 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.000247/0.5526, allocations: 161.7 kB / 0.507 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.5528, allocations: 31.81 kB / 0.507 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.554, allocations: 0.7016 MB / 0.5077 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/0.554, allocations: 19.92 kB / 0.5077 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.554, allocations: 0 / 0.5077 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009909/0.555, allocations: 0.8788 MB / 0.5086 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.5567, allocations: 1.074 MB / 0.5096 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5567, allocations: 0 / 0.5096 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.557, allocations: 63.97 kB / 0.5097 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.5588, allocations: 188.3 kB / 0.5098 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.5588, allocations: 15.98 kB / 0.5099 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000422/0.5592, allocations: 0.5641 MB / 0.5104 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5592, allocations: 0 / 0.5104 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.5604, allocations: 0.7498 MB / 0.5111 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/0.5605, allocations: 35.69 kB / 0.5112 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.5605, allocations: 8 kB / 0.5112 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.5607, allocations: 12.16 kB / 0.5112 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.5608, allocations: 27.89 kB / 0.5112 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.5608, allocations: 15.98 kB / 0.5112 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.561, allocations: 197.2 kB / 0.5114 GB, free: 10.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.561, allocations: 3.938 kB / 0.5114 GB, free: 10.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004899/0.5659, allocations: 0.7597 MB / 0.5122 GB, free: 9.648 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.02678/0.5927, allocations: 6.391 MB / 0.5184 GB, free: 3.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.5939, allocations: 474.9 kB / 0.5189 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5939, allocations: 0 / 0.5189 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.5944, allocations: 219.7 kB / 0.5191 GB, free: 2.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5955, allocations: 164.9 kB / 0.5192 GB, free: 2.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.5974, allocations: 0.9088 MB / 0.5201 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.5977, allocations: 204.9 kB / 0.5203 GB, free: 1.227 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.5981, allocations: 183.4 kB / 0.5205 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.5982, allocations: 39.44 kB / 0.5205 GB, free: 1.008 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5982, allocations: 0 / 0.5205 GB, free: 1.008 MB / 430.1 MB Notification: Performance of Templates: time 0.2551/0.8534, allocations: 29.3 MB / 0.5491 GB, free: 96.21 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.800231810993864]