Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.001721/0.001721, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002069/0.002069, allocations: 207.5 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 51.94 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2398, allocations: 49.17 MB / 396.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0375/0.2773, allocations: 38.23 MB / 434.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03579/0.3131, allocations: 30.83 MB / 465.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.3137, allocations: 7.938 kB / 465.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.315, allocations: 433.7 kB / 465.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.3163, allocations: 0.5283 MB / 466.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0151/0.3314, allocations: 5.271 MB / 471.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.3335, allocations: 1.375 MB / 473 MB, free: 6.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.3338, allocations: 130.8 kB / 473.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.3349, allocations: 0.5411 MB / 473.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.3359, allocations: 462.2 kB / 474.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.336, allocations: 52 kB / 474.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02494/0.361, allocations: 12.95 MB / 487.2 MB, free: 8.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.3613, allocations: 159.4 kB / 487.3 MB, free: 8.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.3618, allocations: 318.7 kB / 487.6 MB, free: 7.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0369/0.3987, allocations: 14.94 MB / 0.4908 GB, free: 8.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3987, allocations: 0 / 0.4908 GB, free: 8.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3987, allocations: 0 / 0.4908 GB, free: 8.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.3988, allocations: 0 / 0.4908 GB, free: 8.879 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.008294/0.4071, allocations: 1.408 MB / 0.4921 GB, free: 7.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4071, allocations: 15.98 kB / 0.4922 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.4072, allocations: 82.53 kB / 0.4922 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007219/0.4079, allocations: 99.56 kB / 0.4923 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.4086, allocations: 328.2 kB / 0.4927 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.4087, allocations: 41 kB / 0.4927 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/0.4087, allocations: 51.95 kB / 0.4927 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.41, allocations: 0.6205 MB / 0.4933 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.41, allocations: 4 kB / 0.4933 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.4101, allocations: 20 kB / 0.4934 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.4101, allocations: 12 kB / 0.4934 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.4113, allocations: 0.5346 MB / 0.4939 GB, free: 5.555 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.00482/0.4161, allocations: 3.675 MB / 0.4975 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.417, allocations: 391.7 kB / 0.4979 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.4173, allocations: 197.4 kB / 0.4981 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.4193, allocations: 0.6246 MB / 0.4987 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.4194, allocations: 42.88 kB / 0.4987 GB, free: 356 kB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.553e-06/0.4194, allocations: 4 kB / 0.4987 GB, free: 352 kB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009054/0.4284, allocations: 1.889 MB / 0.5006 GB, free: 14.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.4285, allocations: 67.78 kB / 0.5006 GB, free: 14.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.4288, allocations: 300.5 kB / 0.5009 GB, free: 14.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.4289, allocations: 37.7 kB / 0.5009 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.4291, allocations: 237.2 kB / 0.5012 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.4292, allocations: 198.3 kB / 0.5014 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.4294, allocations: 114.3 kB / 0.5015 GB, free: 13.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4296, allocations: 350.8 kB / 0.5018 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.4299, allocations: 177.2 kB / 0.502 GB, free: 12.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.4303, allocations: 340 kB / 0.5023 GB, free: 12.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/0.4312, allocations: 0.5484 MB / 0.5028 GB, free: 11.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4312, allocations: 3.984 kB / 0.5028 GB, free: 11.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001295/0.4325, allocations: 0.6659 MB / 0.5035 GB, free: 11.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4325, allocations: 7.938 kB / 0.5035 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4325, allocations: 8 kB / 0.5035 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00913/0.4416, allocations: 446.6 kB / 0.5039 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.4422, allocations: 147.7 kB / 0.5041 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.4448, allocations: 2.994 MB / 0.507 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.4452, allocations: 12 kB / 0.507 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.4452, allocations: 28 kB / 0.507 GB, free: 7.391 MB / 430.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.0003187/0.4455, allocations: 193.8 kB / 0.5072 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.4457, allocations: 43.72 kB / 0.5073 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.4475, allocations: 1.083 MB / 0.5083 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.4475, allocations: 12 kB / 0.5083 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4475, allocations: 3.938 kB / 0.5083 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/0.4488, allocations: 1.11 MB / 0.5094 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/0.4514, allocations: 1.732 MB / 0.5111 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4514, allocations: 3.938 kB / 0.5111 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.4518, allocations: 99.89 kB / 0.5112 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003083/0.4549, allocations: 353.1 kB / 0.5115 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.455, allocations: 12 kB / 0.5115 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008459/0.4558, allocations: 1.155 MB / 0.5127 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4558, allocations: 0 / 0.5127 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.4575, allocations: 1.148 MB / 0.5138 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.4576, allocations: 47.61 kB / 0.5138 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/0.4577, allocations: 23.91 kB / 0.5139 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.4579, allocations: 12 kB / 0.5139 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.458, allocations: 32.44 kB / 0.5139 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.458, allocations: 23.98 kB / 0.5139 GB, free: 84 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.4583, allocations: 251 kB / 0.5142 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4583, allocations: 3.938 kB / 0.5142 GB, free: 15.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005213/0.4636, allocations: 0.974 MB / 0.5151 GB, free: 14.86 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.03141/0.495, allocations: 9.463 MB / 0.5244 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.4968, allocations: 0.6989 MB / 0.525 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.4968, allocations: 5.062 kB / 0.5251 GB, free: 4.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.4975, allocations: 343.2 kB / 0.5254 GB, free: 4.285 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.4989, allocations: 264.9 kB / 0.5256 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.5107, allocations: 5.34 MB / 0.5308 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.5112, allocations: 0.8726 MB / 0.5317 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005482/0.5118, allocations: 241.3 kB / 0.5319 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.512, allocations: 199.4 kB / 0.5321 GB, free: 13.13 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.512, allocations: 0 / 0.5321 GB, free: 13.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2515/0.7635, allocations: 42.96 MB / 0.5741 GB, free: 139.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.32, allocations: 4.016 kB / 0.5741 GB, free: 139.4 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 20.82762648887001]