Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001748/0.001748, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.002299/0.002299, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.478/1.478, allocations: 207.6 MB / 231.8 MB, free: 4.215 MB / 174.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.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",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.001712/0.001712, allocations: 47.94 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09653, allocations: 49.13 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03032/0.1269, allocations: 26.77 MB / 418.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02755/0.1544, allocations: 24.96 MB / 443.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.1548, allocations: 4 kB / 443.2 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009843/0.1558, allocations: 306.3 kB / 443.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009131/0.1567, allocations: 381.9 kB / 443.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.168, allocations: 4.087 MB / 447.9 MB, free: 44 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.1693, allocations: 0.9464 MB / 448.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.1695, allocations: 84.92 kB / 448.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006589/0.1702, allocations: 394.6 kB / 449.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.1706, allocations: 326.7 kB / 449.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.1707, allocations: 36 kB / 449.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01891/0.1896, allocations: 10.47 MB / 460.2 MB, free: 3.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.1898, allocations: 111.6 kB / 460.3 MB, free: 3.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.1902, allocations: 231.1 kB / 460.5 MB, free: 3.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2346/0.4248, allocations: 11.49 MB / 472 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4248, allocations: 0 / 472 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4248, allocations: 0 / 472 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.4248, allocations: 0 / 472 MB, free: 15.11 MB / 382.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.01413/0.4389, allocations: 1.181 MB / 473.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.439, allocations: 11.25 kB / 473.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.548e-05/0.439, allocations: 71.56 kB / 473.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006381/0.4397, allocations: 71.59 kB / 473.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.4401, allocations: 329.8 kB / 473.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.4402, allocations: 22.94 kB / 473.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.4402, allocations: 34.69 kB / 473.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.441, allocations: 464.4 kB / 474.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.441, allocations: 3.75 kB / 474.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.4411, allocations: 16.88 kB / 474.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.4411, allocations: 8.406 kB / 474.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.4418, allocations: 381.1 kB / 474.5 MB, free: 13.93 MB / 382.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.003585/0.4454, allocations: 2.949 MB / 477.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.446, allocations: 285.7 kB / 477.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.4462, allocations: 121.8 kB / 477.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/0.448, allocations: 2.468 MB / 480.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.448, allocations: 40.25 kB / 480.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.494e-06/0.448, allocations: 0.7812 kB / 480.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005292/0.4533, allocations: 1.301 MB / 481.7 MB, free: 9.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.4533, allocations: 55.03 kB / 481.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.4536, allocations: 268.1 kB / 482 MB, free: 8.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.4536, allocations: 29.45 kB / 482 MB, free: 8.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.4537, allocations: 193.2 kB / 482.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.4538, allocations: 126.2 kB / 482.4 MB, free: 8.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.4539, allocations: 87.19 kB / 482.4 MB, free: 8.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.454, allocations: 334.9 kB / 482.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.4541, allocations: 112 kB / 482.9 MB, free: 8.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.4544, allocations: 234.3 kB / 483.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.4548, allocations: 370.4 kB / 483.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4548, allocations: 0.75 kB / 483.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007454/0.4555, allocations: 469.3 kB / 483.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4556, allocations: 10.53 kB / 483.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4556, allocations: 7.219 kB / 483.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004578/0.4601, allocations: 236.8 kB / 484.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.4605, allocations: 87.3 kB / 484.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.4618, allocations: 1.943 MB / 486.2 MB, free: 22.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.462, allocations: 11.34 kB / 486.2 MB, free: 22.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.4621, allocations: 18 kB / 486.2 MB, free: 22.1 MB / 398.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.0002196/0.4623, allocations: 165.8 kB / 486.4 MB, free: 21.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.4624, allocations: 36.41 kB / 486.4 MB, free: 21.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009052/0.4633, allocations: 0.6907 MB / 487.1 MB, free: 21.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4633, allocations: 12.38 kB / 487.1 MB, free: 21.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4633, allocations: 0 / 487.1 MB, free: 21.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007325/0.464, allocations: 0.8516 MB / 488 MB, free: 21.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.4653, allocations: 1.208 MB / 489.2 MB, free: 21.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4653, allocations: 0 / 489.2 MB, free: 21.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.4656, allocations: 60.55 kB / 489.3 MB, free: 21.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.467, allocations: 172.6 kB / 489.4 MB, free: 21.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.4671, allocations: 17.08 kB / 489.4 MB, free: 21.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003941/0.4675, allocations: 0.5741 MB / 490 MB, free: 20.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4675, allocations: 4.016 kB / 490 MB, free: 20.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009122/0.4684, allocations: 0.7306 MB / 490.7 MB, free: 20.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.4685, allocations: 113.1 kB / 490.9 MB, free: 20.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.4686, allocations: 14.88 kB / 490.9 MB, free: 20.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.4687, allocations: 7.875 kB / 490.9 MB, free: 20.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.4688, allocations: 23.69 kB / 490.9 MB, free: 20.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.4688, allocations: 15.75 kB / 490.9 MB, free: 20.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.469, allocations: 220.5 kB / 491.1 MB, free: 20.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.469, allocations: 0 / 491.1 MB, free: 20.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.01287/0.4819, allocations: 0.744 MB / 491.9 MB, free: 20.05 MB / 398.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.04031/0.5222, allocations: 7.589 MB / 499.5 MB, free: 16.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.5232, allocations: 466.8 kB / 499.9 MB, free: 16.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5232, allocations: 1.719 kB / 499.9 MB, free: 16.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.5236, allocations: 210.2 kB / 0.4884 GB, free: 16.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.5246, allocations: 187.9 kB / 0.4886 GB, free: 16.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.5383, allocations: 4.046 MB / 0.4925 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.5387, allocations: 0.8079 MB / 0.4933 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004264/0.5392, allocations: 196.9 kB / 0.4935 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.5393, allocations: 135.3 kB / 0.4936 GB, free: 13.12 MB / 398.1 MB Notification: Performance of SimCode: time 1.143e-06/0.5393, allocations: 4 kB / 0.4936 GB, free: 13.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07669/0.616, allocations: 33.79 MB / 0.5266 GB, free: 13.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.95, allocations: 11.89 kB / 0.5267 GB, free: 13.69 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_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_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.94803511200007]