Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001652/0.001652, allocations: 108.3 kB / 19.17 MB, free: 3.914 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.002023/0.002023, allocations: 205 kB / 22.12 MB, free: 0.9688 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.494/1.494, allocations: 230.2 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.89 kB / 374.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 53.32 MB / 427.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2464/0.3511, allocations: 37.99 MB / 465.8 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03689/0.388, allocations: 30.75 MB / 496.6 MB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007126/0.3887, allocations: 10.69 kB / 496.6 MB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.3902, allocations: 431.1 kB / 497 MB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.3917, allocations: 0.53 MB / 497.5 MB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01549/0.4072, allocations: 5.238 MB / 0.491 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.4093, allocations: 1.359 MB / 0.4923 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.4096, allocations: 130.7 kB / 0.4924 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008902/0.4105, allocations: 0.5372 MB / 0.493 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005773/0.4111, allocations: 465 kB / 0.4934 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.4111, allocations: 59.98 kB / 0.4935 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02607/0.4372, allocations: 12.89 MB / 0.5061 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.4376, allocations: 163.4 kB / 0.5062 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005706/0.4381, allocations: 310.9 kB / 0.5065 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04008/0.4782, allocations: 14.94 MB / 0.5211 GB, free: 6.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.4782, allocations: 4 kB / 0.5211 GB, free: 6.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4782, allocations: 0 / 0.5211 GB, free: 6.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.4782, allocations: 0 / 0.5211 GB, free: 6.934 MB / 430.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.008476/0.4867, allocations: 1.475 MB / 0.5225 GB, free: 5.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4868, allocations: 12.03 kB / 0.5226 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/0.4876, allocations: 91.62 kB / 0.5226 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.4883, allocations: 398.1 kB / 0.523 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.4883, allocations: 33 kB / 0.523 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.4884, allocations: 44 kB / 0.5231 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.4896, allocations: 0.6244 MB / 0.5237 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.4897, allocations: 3.953 kB / 0.5237 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.4897, allocations: 24 kB / 0.5237 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.4897, allocations: 12 kB / 0.5237 GB, free: 4.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.4907, allocations: 0.5307 MB / 0.5243 GB, free: 3.555 MB / 430.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.00499/0.4957, allocations: 3.806 MB / 0.528 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009851/0.4967, allocations: 393.2 kB / 0.5283 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.497, allocations: 197.5 kB / 0.5285 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003535/0.5006, allocations: 3.455 MB / 0.5319 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.5006, allocations: 42.94 kB / 0.532 GB, free: 10.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.715e-06/0.5006, allocations: 0 / 0.532 GB, free: 10.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01036/0.511, allocations: 2.038 MB / 0.5339 GB, free: 8.539 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.511, allocations: 55.84 kB / 0.534 GB, free: 8.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.5114, allocations: 316.4 kB / 0.5343 GB, free: 8.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.5114, allocations: 33.7 kB / 0.5343 GB, free: 8.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.5116, allocations: 233.2 kB / 0.5346 GB, free: 7.891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.5118, allocations: 202.3 kB / 0.5347 GB, free: 7.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.5119, allocations: 118.3 kB / 0.5349 GB, free: 7.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5121, allocations: 350.8 kB / 0.5352 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.5124, allocations: 181.2 kB / 0.5354 GB, free: 7.039 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.5129, allocations: 336 kB / 0.5357 GB, free: 6.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.5137, allocations: 0.5446 MB / 0.5362 GB, free: 6.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5137, allocations: 0 / 0.5362 GB, free: 6.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001431/0.5151, allocations: 0.6659 MB / 0.5369 GB, free: 5.359 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.5151, allocations: 20.42 kB / 0.5369 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5151, allocations: 7.938 kB / 0.5369 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/0.5269, allocations: 474 kB / 0.5373 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.5276, allocations: 139.8 kB / 0.5375 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.53, allocations: 3.093 MB / 0.5405 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.5304, allocations: 23.94 kB / 0.5405 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.5304, allocations: 27.98 kB / 0.5405 GB, free: 1.371 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.0002914/0.5307, allocations: 189.9 kB / 0.5407 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.531, allocations: 51.66 kB / 0.5408 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.5326, allocations: 1.046 MB / 0.5418 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.5326, allocations: 7.984 kB / 0.5418 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5326, allocations: 0 / 0.5418 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.5339, allocations: 1.099 MB / 0.5429 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.5362, allocations: 1.722 MB / 0.5446 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5363, allocations: 0 / 0.5446 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.5367, allocations: 103.9 kB / 0.5447 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/0.5398, allocations: 353 kB / 0.545 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.5399, allocations: 12 kB / 0.545 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008245/0.5407, allocations: 1.152 MB / 0.5461 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5407, allocations: 0 / 0.5461 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.5424, allocations: 1.133 MB / 0.5472 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.5426, allocations: 124.7 kB / 0.5474 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.5426, allocations: 15.94 kB / 0.5474 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.5429, allocations: 16.72 kB / 0.5474 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.5429, allocations: 36.52 kB / 0.5474 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.543, allocations: 19.98 kB / 0.5474 GB, free: 10.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002828/0.5433, allocations: 251 kB / 0.5477 GB, free: 9.805 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5433, allocations: 0 / 0.5477 GB, free: 9.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005143/0.5484, allocations: 0.9741 MB / 0.5486 GB, free: 8.828 MB / 462.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.0295/0.5779, allocations: 7.892 MB / 0.5563 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.5797, allocations: 0.6845 MB / 0.557 GB, free: 216 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.5797, allocations: 4 kB / 0.557 GB, free: 212 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006585/0.5803, allocations: 347.5 kB / 0.5573 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.5816, allocations: 255.4 kB / 0.5576 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.584, allocations: 1.382 MB / 0.5589 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.5845, allocations: 0.8686 MB / 0.5598 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.5847, allocations: 59.42 kB / 0.5598 GB, free: 13.26 MB / 478.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5847, allocations: 0 / 0.5598 GB, free: 13.26 MB / 478.1 MB Notification: Performance of Templates: time 0.0508/0.6355, allocations: 38.86 MB / 0.5978 GB, free: 6.355 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 11.684066980029456]