Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.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.001795/0.001795, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.002152/0.002152, allocations: 202.8 kB / 24.46 MB, free: 3.902 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.389/1.389, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.R134a.R134a1") [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.001886/0.001886, allocations: 63.84 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2408, allocations: 53.33 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02961/0.2704, allocations: 27.06 MB / 459.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02779/0.2982, allocations: 25.06 MB / 484.2 MB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.2986, allocations: 7.938 kB / 484.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008786/0.2995, allocations: 314.3 kB / 484.5 MB, free: 2.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008421/0.3003, allocations: 377.9 kB / 484.9 MB, free: 2.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.3117, allocations: 4.097 MB / 489 MB, free: 14.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.3131, allocations: 0.9542 MB / 489.9 MB, free: 13.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.3133, allocations: 85.03 kB / 490 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006434/0.314, allocations: 398.6 kB / 490.4 MB, free: 12.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004308/0.3144, allocations: 318.8 kB / 490.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.3145, allocations: 36 kB / 490.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/0.3326, allocations: 10.49 MB / 0.4895 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.3328, allocations: 107.7 kB / 0.4896 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.3332, allocations: 219.2 kB / 0.4898 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02702/0.3602, allocations: 11.51 MB / 0.501 GB, free: 6.148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.3602, allocations: 0 / 0.501 GB, free: 6.148 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3602, allocations: 0 / 0.501 GB, free: 6.148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.3602, allocations: 4 kB / 0.501 GB, free: 6.145 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.006579/0.3668, allocations: 1.18 MB / 0.5022 GB, free: 4.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3669, allocations: 12.02 kB / 0.5022 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.3674, allocations: 67.73 kB / 0.5023 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.3679, allocations: 334.3 kB / 0.5026 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3679, allocations: 24.66 kB / 0.5026 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.368, allocations: 31.94 kB / 0.5026 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/0.3689, allocations: 467.7 kB / 0.5031 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3689, allocations: 4 kB / 0.5031 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.3689, allocations: 12 kB / 0.5031 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.3689, allocations: 8 kB / 0.5031 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.3696, allocations: 386.3 kB / 0.5035 GB, free: 3.516 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.003819/0.3735, allocations: 2.949 MB / 0.5063 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.3741, allocations: 291.2 kB / 0.5066 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.3744, allocations: 124.9 kB / 0.5067 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002563/0.3769, allocations: 2.466 MB / 0.5092 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.377, allocations: 46.55 kB / 0.5092 GB, free: 12.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.485e-06/0.377, allocations: 0 / 0.5092 GB, free: 12.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005177/0.3821, allocations: 1.295 MB / 0.5105 GB, free: 11.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3822, allocations: 55.41 kB / 0.5105 GB, free: 11.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.3825, allocations: 266.5 kB / 0.5108 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.3825, allocations: 33.7 kB / 0.5108 GB, free: 11.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3827, allocations: 192.4 kB / 0.511 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3828, allocations: 130.9 kB / 0.5111 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.3829, allocations: 82.08 kB / 0.5112 GB, free: 10.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.383, allocations: 334.8 kB / 0.5115 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.3832, allocations: 120.8 kB / 0.5116 GB, free: 10.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.3835, allocations: 226 kB / 0.5118 GB, free: 10.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.3841, allocations: 373.5 kB / 0.5122 GB, free: 9.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3841, allocations: 0 / 0.5122 GB, free: 9.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008449/0.3849, allocations: 462.7 kB / 0.5126 GB, free: 9.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3849, allocations: 8 kB / 0.5126 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3849, allocations: 4.438 kB / 0.5126 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/0.3896, allocations: 241.4 kB / 0.5129 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.3899, allocations: 83.91 kB / 0.513 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.3916, allocations: 1.95 MB / 0.5149 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3918, allocations: 8 kB / 0.5149 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.3918, allocations: 20.19 kB / 0.5149 GB, free: 6.656 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.0002149/0.3921, allocations: 165.7 kB / 0.515 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.3922, allocations: 35.75 kB / 0.5151 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.3932, allocations: 0.686 MB / 0.5157 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.3932, allocations: 7.984 kB / 0.5158 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3933, allocations: 4.062 kB / 0.5158 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009409/0.3942, allocations: 0.871 MB / 0.5166 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.3957, allocations: 1.192 MB / 0.5178 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3958, allocations: 0 / 0.5178 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.396, allocations: 63.91 kB / 0.5178 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.3976, allocations: 176.6 kB / 0.518 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3976, allocations: 12 kB / 0.518 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004045/0.398, allocations: 0.5641 MB / 0.5186 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.398, allocations: 3.938 kB / 0.5186 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/0.399, allocations: 0.7384 MB / 0.5193 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3991, allocations: 112.8 kB / 0.5194 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.3991, allocations: 12 kB / 0.5194 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.3993, allocations: 8 kB / 0.5194 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.3994, allocations: 27.84 kB / 0.5194 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.3994, allocations: 15.98 kB / 0.5195 GB, free: 1.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.3996, allocations: 218 kB / 0.5197 GB, free: 1.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3996, allocations: 0 / 0.5197 GB, free: 1.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003971/0.4036, allocations: 0.7597 MB / 0.5204 GB, free: 0.7539 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.02334/0.4269, allocations: 6.403 MB / 0.5267 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.4279, allocations: 462.9 kB / 0.5271 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4279, allocations: 3.938 kB / 0.5271 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.4283, allocations: 223.7 kB / 0.5273 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4294, allocations: 188.6 kB / 0.5275 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.431, allocations: 0.9363 MB / 0.5284 GB, free: 8.488 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.4315, allocations: 0.8012 MB / 0.5292 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.4316, allocations: 47.42 kB / 0.5292 GB, free: 7.613 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4316, allocations: 0 / 0.5292 GB, free: 7.613 MB / 446.1 MB Notification: Performance of Templates: time 0.2185/0.65, allocations: 29.38 MB / 0.5579 GB, free: 86.19 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.653240235056728]