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.001931/0.001931, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002315/0.002315, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.98 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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 39.94 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2371, allocations: 53.37 MB / 431.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03022/0.2673, allocations: 27.07 MB / 458.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02977/0.2971, allocations: 25.08 MB / 483.3 MB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/0.2975, allocations: 7.938 kB / 483.3 MB, free: 2.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.2985, allocations: 306.3 kB / 483.6 MB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009192/0.2994, allocations: 385.8 kB / 484 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01146/0.3109, allocations: 4.125 MB / 488.1 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.3124, allocations: 0.9697 MB / 489.1 MB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3126, allocations: 85.22 kB / 489.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.3132, allocations: 386.7 kB / 489.5 MB, free: 12.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.3136, allocations: 326.7 kB / 489.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.3137, allocations: 36 kB / 489.9 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01864/0.3323, allocations: 10.54 MB / 0.4887 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.3326, allocations: 111.6 kB / 0.4888 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003783/0.3329, allocations: 231.1 kB / 0.489 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0265/0.3594, allocations: 11.51 MB / 0.5003 GB, free: 5.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3594, allocations: 0 / 0.5003 GB, free: 5.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.939e-06/0.3594, allocations: 4 kB / 0.5003 GB, free: 5.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3595, allocations: 0 / 0.5003 GB, free: 5.449 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.005856/0.3653, allocations: 1.105 MB / 0.5013 GB, free: 4.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.3654, allocations: 12.03 kB / 0.5013 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.416e-05/0.3654, allocations: 70.53 kB / 0.5014 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.366, allocations: 67.73 kB / 0.5015 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.3665, allocations: 260.6 kB / 0.5017 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3665, allocations: 20.66 kB / 0.5017 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.3666, allocations: 35.94 kB / 0.5018 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008756/0.3675, allocations: 467.7 kB / 0.5022 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.3675, allocations: 3.984 kB / 0.5022 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.3675, allocations: 20 kB / 0.5023 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3675, allocations: 8 kB / 0.5023 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.3683, allocations: 394.3 kB / 0.5026 GB, free: 2.906 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.003787/0.3721, allocations: 2.814 MB / 0.5054 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.3728, allocations: 281.1 kB / 0.5057 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.373, allocations: 128.8 kB / 0.5058 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/0.3744, allocations: 463.5 kB / 0.5062 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3744, allocations: 38.56 kB / 0.5063 GB, free: 14.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.3744, allocations: 0 / 0.5063 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005262/0.3797, allocations: 1.155 MB / 0.5074 GB, free: 13.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3797, allocations: 55.41 kB / 0.5074 GB, free: 13.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.38, allocations: 257.9 kB / 0.5077 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.3801, allocations: 29.7 kB / 0.5077 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3802, allocations: 204.3 kB / 0.5079 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.3803, allocations: 126.9 kB / 0.508 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.3804, allocations: 82.08 kB / 0.5081 GB, free: 13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3806, allocations: 346.7 kB / 0.5084 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.3808, allocations: 112.8 kB / 0.5085 GB, free: 12.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.3811, allocations: 226.1 kB / 0.5088 GB, free: 12.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.3816, allocations: 378 kB / 0.5091 GB, free: 11.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3816, allocations: 4 kB / 0.5091 GB, free: 11.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008929/0.3825, allocations: 458.8 kB / 0.5096 GB, free: 11.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3825, allocations: 4 kB / 0.5096 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3825, allocations: 4 kB / 0.5096 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005685/0.3882, allocations: 249.4 kB / 0.5098 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.3885, allocations: 92.2 kB / 0.5099 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.3902, allocations: 1.843 MB / 0.5117 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3903, allocations: 8 kB / 0.5117 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.3904, allocations: 20 kB / 0.5117 GB, free: 9.035 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.0001867/0.3906, allocations: 165.7 kB / 0.5119 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.3907, allocations: 35.91 kB / 0.5119 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.3918, allocations: 0.7017 MB / 0.5126 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3918, allocations: 7.984 kB / 0.5126 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.3918, allocations: 0 / 0.5126 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000918/0.3927, allocations: 0.8828 MB / 0.5135 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.3943, allocations: 1.191 MB / 0.5146 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3943, allocations: 0 / 0.5146 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3945, allocations: 71.84 kB / 0.5147 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/0.396, allocations: 176.5 kB / 0.5149 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.396, allocations: 12 kB / 0.5149 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004005/0.3964, allocations: 0.5797 MB / 0.5154 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3964, allocations: 4 kB / 0.5154 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3975, allocations: 0.7459 MB / 0.5162 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.3975, allocations: 31.78 kB / 0.5162 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.3976, allocations: 15.94 kB / 0.5162 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3978, allocations: 12.09 kB / 0.5162 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3978, allocations: 31.89 kB / 0.5163 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.3978, allocations: 8 kB / 0.5163 GB, free: 4.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.3981, allocations: 223.1 kB / 0.5165 GB, free: 3.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3981, allocations: 0 / 0.5165 GB, free: 3.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004019/0.4021, allocations: 0.7559 MB / 0.5172 GB, free: 3.18 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.02406/0.4261, allocations: 7.601 MB / 0.5246 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.4272, allocations: 457.7 kB / 0.5251 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.4272, allocations: 4.875 kB / 0.5251 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.4276, allocations: 216.3 kB / 0.5253 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4286, allocations: 193.6 kB / 0.5255 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.4364, allocations: 4.059 MB / 0.5294 GB, free: 6.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.4369, allocations: 0.8052 MB / 0.5302 GB, free: 5.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.4373, allocations: 186.9 kB / 0.5304 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.4375, allocations: 143.3 kB / 0.5305 GB, free: 5.289 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4375, allocations: 0 / 0.5305 GB, free: 5.289 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2528/0.6903, allocations: 34.28 MB / 0.564 GB, free: 78.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.81, allocations: 11.94 kB / 0.564 GB, free: 78.16 MB / 446.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] 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: 19.98337765596807]