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.00128/0.00128, allocations: 113.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.00135/0.00135, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.43/1.43, allocations: 230.4 MB / 258.1 MB, free: 8.176 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.001958/0.001958, allocations: 67.89 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2119, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03014/0.242, allocations: 27.07 MB / 459.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02888/0.2709, allocations: 25.06 MB / 484.2 MB, free: 3.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.2713, allocations: 11.88 kB / 484.2 MB, free: 3.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008739/0.2721, allocations: 310.3 kB / 484.5 MB, free: 2.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008764/0.273, allocations: 381.9 kB / 484.9 MB, free: 2.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.2837, allocations: 4.104 MB / 489 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.2849, allocations: 0.9503 MB / 489.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.2851, allocations: 73.05 kB / 490 MB, free: 13.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.2858, allocations: 402.6 kB / 490.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.2863, allocations: 318.7 kB / 490.7 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.2863, allocations: 36 kB / 490.7 MB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01804/0.3044, allocations: 10.49 MB / 0.4895 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.3045, allocations: 107.6 kB / 0.4896 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.3048, allocations: 231.1 kB / 0.4898 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02421/0.329, allocations: 11.5 MB / 0.501 GB, free: 6.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.329, allocations: 8 kB / 0.501 GB, free: 6.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.329, allocations: 0 / 0.501 GB, free: 6.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.3291, allocations: 0 / 0.501 GB, free: 6.164 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.005702/0.3348, allocations: 1.177 MB / 0.5022 GB, free: 4.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3348, allocations: 8.031 kB / 0.5022 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005239/0.3353, allocations: 67.73 kB / 0.5023 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.3358, allocations: 338.4 kB / 0.5026 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.3359, allocations: 20.66 kB / 0.5026 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.3359, allocations: 32 kB / 0.5026 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/0.3368, allocations: 471.7 kB / 0.5031 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3369, allocations: 0 / 0.5031 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.3369, allocations: 16 kB / 0.5031 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3369, allocations: 8 kB / 0.5031 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/0.3377, allocations: 390.2 kB / 0.5035 GB, free: 3.535 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.004037/0.3417, allocations: 2.949 MB / 0.5064 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.3424, allocations: 275.2 kB / 0.5066 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.3427, allocations: 128.8 kB / 0.5067 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002686/0.3454, allocations: 2.47 MB / 0.5092 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.3454, allocations: 38.56 kB / 0.5092 GB, free: 12.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.3454, allocations: 0 / 0.5092 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005428/0.3508, allocations: 1.306 MB / 0.5105 GB, free: 11.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3509, allocations: 55.41 kB / 0.5105 GB, free: 11.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.3512, allocations: 262.5 kB / 0.5108 GB, free: 11.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.3512, allocations: 37.7 kB / 0.5108 GB, free: 11.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.3513, allocations: 188.4 kB / 0.511 GB, free: 10.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3514, allocations: 130.9 kB / 0.5111 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3516, allocations: 82.08 kB / 0.5112 GB, free: 10.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3517, allocations: 338.8 kB / 0.5115 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.352, allocations: 116.8 kB / 0.5116 GB, free: 10.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.3523, allocations: 230 kB / 0.5118 GB, free: 10.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.3529, allocations: 369.5 kB / 0.5122 GB, free: 9.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3529, allocations: 4 kB / 0.5122 GB, free: 9.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008989/0.3538, allocations: 458.7 kB / 0.5126 GB, free: 9.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3538, allocations: 12.38 kB / 0.5127 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3538, allocations: 8 kB / 0.5127 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005027/0.3588, allocations: 229.4 kB / 0.5129 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.3592, allocations: 87.89 kB / 0.513 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.3608, allocations: 1.943 MB / 0.5149 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.361, allocations: 12.22 kB / 0.5149 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.361, allocations: 27.98 kB / 0.5149 GB, free: 6.68 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.0001911/0.3612, allocations: 161.7 kB / 0.5151 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.3613, allocations: 31.81 kB / 0.5151 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3624, allocations: 0.6937 MB / 0.5158 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009566/0.3634, allocations: 0.8671 MB / 0.5166 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3634, allocations: 4 kB / 0.5166 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.3635, allocations: 101 kB / 0.5167 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.3635, allocations: 23.88 kB / 0.5167 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3637, allocations: 12 kB / 0.5167 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.3638, allocations: 19.97 kB / 0.5168 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009701/0.3647, allocations: 0.5181 MB / 0.5173 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001012/0.3658, allocations: 0.7636 MB / 0.518 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002447/0.366, allocations: 160.8 kB / 0.5182 GB, free: 3.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.3663, allocations: 221.9 kB / 0.5184 GB, free: 2.953 MB / 430.1 MB Notification: Performance of Backend: time 2e-07/0.3663, allocations: 0 / 0.5184 GB, free: 2.953 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.03952/0.4058, allocations: 9.955 MB / 0.5281 GB, free: 8.957 MB / 446.1 MB Notification: Performance of SimCode: time 0.001865/0.4076, allocations: 1.29 MB / 0.5294 GB, free: 7.625 MB / 446.1 MB Notification: Performance of Templates: time 0.1996/0.6072, allocations: 33.65 MB / 0.5622 GB, free: 83.11 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: 7.850721299182624]