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.001915/0.001915, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.002497/0.002497, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.346/1.346, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.00179/0.00179, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2676, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04383/0.3115, allocations: 38.24 MB / 434.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03893/0.3504, allocations: 30.82 MB / 465.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007651/0.3512, allocations: 11.94 kB / 465.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.3525, allocations: 429.7 kB / 465.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.354, allocations: 0.5322 MB / 466.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01792/0.3719, allocations: 5.271 MB / 471.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.3747, allocations: 1.375 MB / 473 MB, free: 6.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.375, allocations: 130.8 kB / 473.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.3762, allocations: 0.5449 MB / 473.7 MB, free: 5.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007056/0.3769, allocations: 466.1 kB / 474.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.932e-05/0.377, allocations: 52 kB / 474.2 MB, free: 5.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02731/0.4043, allocations: 12.95 MB / 487.2 MB, free: 8.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.4046, allocations: 155.5 kB / 487.3 MB, free: 8.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005438/0.4051, allocations: 314.8 kB / 487.6 MB, free: 7.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04144/0.4466, allocations: 14.94 MB / 0.4908 GB, free: 8.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4466, allocations: 0 / 0.4908 GB, free: 8.859 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4466, allocations: 3.938 kB / 0.4908 GB, free: 8.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4466, allocations: 4 kB / 0.4908 GB, free: 8.852 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.008979/0.4556, allocations: 1.4 MB / 0.4922 GB, free: 7.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4556, allocations: 15.98 kB / 0.4922 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.4557, allocations: 86.52 kB / 0.4922 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007364/0.4565, allocations: 91.58 kB / 0.4923 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.4571, allocations: 328.3 kB / 0.4926 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.4572, allocations: 37 kB / 0.4927 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/0.4573, allocations: 55.89 kB / 0.4927 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.4585, allocations: 0.6166 MB / 0.4933 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.4585, allocations: 4 kB / 0.4933 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.4586, allocations: 23.94 kB / 0.4934 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.4586, allocations: 12 kB / 0.4934 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.4596, allocations: 0.5346 MB / 0.4939 GB, free: 5.539 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.004908/0.4645, allocations: 3.679 MB / 0.4975 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.4655, allocations: 395.6 kB / 0.4979 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.4658, allocations: 201.4 kB / 0.4981 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002006/0.4678, allocations: 0.6285 MB / 0.4987 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4679, allocations: 34.94 kB / 0.4987 GB, free: 332 kB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.023e-06/0.4679, allocations: 0 / 0.4987 GB, free: 332 kB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009387/0.4773, allocations: 1.877 MB / 0.5005 GB, free: 14.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.4773, allocations: 67.72 kB / 0.5006 GB, free: 14.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.4777, allocations: 300.5 kB / 0.5009 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.4777, allocations: 37.7 kB / 0.5009 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.4779, allocations: 241.1 kB / 0.5012 GB, free: 13.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.4781, allocations: 198.3 kB / 0.5013 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.4783, allocations: 114.3 kB / 0.5015 GB, free: 13.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4784, allocations: 354.8 kB / 0.5018 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.4788, allocations: 181.2 kB / 0.502 GB, free: 12.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.4792, allocations: 336 kB / 0.5023 GB, free: 12.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000892/0.4801, allocations: 0.5485 MB / 0.5028 GB, free: 11.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4801, allocations: 7.938 kB / 0.5028 GB, free: 11.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001383/0.4815, allocations: 0.6664 MB / 0.5035 GB, free: 11.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4815, allocations: 16 kB / 0.5035 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4815, allocations: 4 kB / 0.5035 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009223/0.4908, allocations: 446 kB / 0.5039 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.4914, allocations: 143.8 kB / 0.5041 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.494, allocations: 2.993 MB / 0.507 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.4944, allocations: 12 kB / 0.507 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.4944, allocations: 36.23 kB / 0.507 GB, free: 7.363 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.0003131/0.4947, allocations: 185.7 kB / 0.5072 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.4949, allocations: 43.72 kB / 0.5073 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.4966, allocations: 1.075 MB / 0.5083 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.4966, allocations: 15.98 kB / 0.5083 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4966, allocations: 7.938 kB / 0.5083 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/0.4979, allocations: 1.106 MB / 0.5094 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.5003, allocations: 1.72 MB / 0.5111 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5003, allocations: 3.938 kB / 0.5111 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.5007, allocations: 107.8 kB / 0.5112 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/0.5039, allocations: 357 kB / 0.5115 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.5039, allocations: 16.06 kB / 0.5115 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008523/0.5048, allocations: 1.152 MB / 0.5127 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5048, allocations: 0 / 0.5127 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.5065, allocations: 1.144 MB / 0.5138 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.5066, allocations: 51.64 kB / 0.5138 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.095e-05/0.5067, allocations: 19.88 kB / 0.5139 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.5069, allocations: 15.94 kB / 0.5139 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.507, allocations: 40.42 kB / 0.5139 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.507, allocations: 16 kB / 0.5139 GB, free: 68 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003191/0.5074, allocations: 255 kB / 0.5142 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5074, allocations: 4 kB / 0.5142 GB, free: 15.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006075/0.5134, allocations: 0.9702 MB / 0.5151 GB, free: 14.84 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.03444/0.5479, allocations: 9.471 MB / 0.5244 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.5499, allocations: 0.6962 MB / 0.5251 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5499, allocations: 4 kB / 0.5251 GB, free: 4.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007113/0.5506, allocations: 351.2 kB / 0.5254 GB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.5521, allocations: 257.7 kB / 0.5256 GB, free: 4.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.5652, allocations: 5.344 MB / 0.5309 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.5658, allocations: 0.8688 MB / 0.5317 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006268/0.5664, allocations: 241.5 kB / 0.5319 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.5667, allocations: 199.4 kB / 0.5321 GB, free: 13.12 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5667, allocations: 4 kB / 0.5321 GB, free: 13.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.285/0.8517, allocations: 42.95 MB / 0.5741 GB, free: 139.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.85, allocations: 8.781 kB / 0.5741 GB, free: 139.6 MB / 478.1 MB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/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: 19.98724851499719]