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.001274/0.001274, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001396/0.001396, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.493/1.493, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.00239/0.00239, allocations: 43.92 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1175, allocations: 53.33 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2457/0.3632, allocations: 26.84 MB / 453.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03196/0.3952, allocations: 24.97 MB / 478.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.3958, allocations: 9.969 kB / 478.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3969, allocations: 305.6 kB / 478.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.3979, allocations: 383.2 kB / 478.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01441/0.4123, allocations: 4.094 MB / 482.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.414, allocations: 0.9439 MB / 483.8 MB, free: 4.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.4143, allocations: 84.91 kB / 483.9 MB, free: 4.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007291/0.415, allocations: 392.2 kB / 484.3 MB, free: 4.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.4154, allocations: 323.7 kB / 484.6 MB, free: 4.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.4155, allocations: 36.47 kB / 484.7 MB, free: 4.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02428/0.4398, allocations: 10.5 MB / 495.2 MB, free: 12.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.44, allocations: 111.6 kB / 495.3 MB, free: 11.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000511/0.4405, allocations: 219.2 kB / 495.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03111/0.4717, allocations: 11.51 MB / 0.4951 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4717, allocations: 0 / 0.4951 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4717, allocations: 3.938 kB / 0.4951 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4717, allocations: 0 / 0.4951 GB, free: 172 kB / 398.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.007033/0.4787, allocations: 1.173 MB / 0.4963 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4787, allocations: 12.03 kB / 0.4963 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.677e-05/0.4788, allocations: 70.53 kB / 0.4963 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.4795, allocations: 71.72 kB / 0.4964 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.48, allocations: 318.9 kB / 0.4967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.48, allocations: 28.66 kB / 0.4967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.4801, allocations: 36 kB / 0.4968 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009285/0.481, allocations: 463.7 kB / 0.4972 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4811, allocations: 11.55 kB / 0.4972 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.4811, allocations: 16 kB / 0.4972 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.4811, allocations: 8 kB / 0.4973 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007461/0.4819, allocations: 386.3 kB / 0.4976 GB, free: 13.47 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.003573/0.4854, allocations: 2.945 MB / 0.5005 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.4861, allocations: 275.5 kB / 0.5008 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.4863, allocations: 129.4 kB / 0.5009 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002584/0.4889, allocations: 2.466 MB / 0.5033 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4889, allocations: 34.5 kB / 0.5033 GB, free: 6.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.4889, allocations: 3.938 kB / 0.5033 GB, free: 6.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005646/0.4946, allocations: 1.303 MB / 0.5046 GB, free: 5.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.4946, allocations: 59.41 kB / 0.5047 GB, free: 5.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.4949, allocations: 262.5 kB / 0.5049 GB, free: 5.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.4949, allocations: 29.7 kB / 0.5049 GB, free: 5.125 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4951, allocations: 188.5 kB / 0.5051 GB, free: 4.938 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4952, allocations: 130.9 kB / 0.5052 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.4953, allocations: 82.08 kB / 0.5053 GB, free: 4.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4954, allocations: 338.8 kB / 0.5056 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.4956, allocations: 112.8 kB / 0.5057 GB, free: 4.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.4959, allocations: 234.7 kB / 0.506 GB, free: 3.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.4965, allocations: 373.5 kB / 0.5063 GB, free: 3.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4965, allocations: 3.938 kB / 0.5063 GB, free: 3.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009363/0.4974, allocations: 471.4 kB / 0.5068 GB, free: 3.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4974, allocations: 8 kB / 0.5068 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4974, allocations: 5.016 kB / 0.5068 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006024/0.5035, allocations: 249.9 kB / 0.507 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.5038, allocations: 87.84 kB / 0.5071 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.5055, allocations: 1.939 MB / 0.509 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.5058, allocations: 11.98 kB / 0.509 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.5058, allocations: 20 kB / 0.509 GB, free: 0.625 MB / 414.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.0002312/0.506, allocations: 169.8 kB / 0.5092 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.5062, allocations: 35.75 kB / 0.5092 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.5073, allocations: 0.6842 MB / 0.5099 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5073, allocations: 11.98 kB / 0.5099 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.5073, allocations: 0 / 0.5099 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008909/0.5082, allocations: 0.8651 MB / 0.5108 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.5098, allocations: 1.191 MB / 0.5119 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5098, allocations: 0 / 0.5119 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.51, allocations: 63.91 kB / 0.512 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.5116, allocations: 183 kB / 0.5122 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.5116, allocations: 8 kB / 0.5122 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003994/0.512, allocations: 0.5641 MB / 0.5127 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.512, allocations: 3.938 kB / 0.5127 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.5131, allocations: 0.7384 MB / 0.5134 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5132, allocations: 116.8 kB / 0.5136 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.5132, allocations: 8 kB / 0.5136 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.5134, allocations: 8 kB / 0.5136 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.5135, allocations: 23.91 kB / 0.5136 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.5135, allocations: 12 kB / 0.5136 GB, free: 11.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.5137, allocations: 221.9 kB / 0.5138 GB, free: 11.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5137, allocations: 0 / 0.5138 GB, free: 11.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004568/0.5183, allocations: 0.7558 MB / 0.5146 GB, free: 10.74 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.02536/0.5437, allocations: 7.605 MB / 0.522 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.5447, allocations: 462.3 kB / 0.5224 GB, free: 2.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5447, allocations: 3.938 kB / 0.5224 GB, free: 2.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.5451, allocations: 212.9 kB / 0.5226 GB, free: 2.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5463, allocations: 182.6 kB / 0.5228 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008412/0.5547, allocations: 4.046 MB / 0.5268 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.5551, allocations: 0.8051 MB / 0.5275 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000423/0.5556, allocations: 194.9 kB / 0.5277 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.5558, allocations: 135.4 kB / 0.5279 GB, free: 12.88 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5558, allocations: 0 / 0.5279 GB, free: 12.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06994/0.6257, allocations: 33.86 MB / 0.5609 GB, free: 11.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.82, allocations: 6.25 kB / 0.5609 GB, free: 11.11 MB / 478.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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.csv","/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: 17.842448633993627]