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.001353/0.001353, 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.001433/0.001433, allocations: 217.2 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.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001503/0.001503, allocations: 55.91 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2344, allocations: 53.36 MB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03033/0.2648, allocations: 27.07 MB / 458.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02903/0.2938, allocations: 25.08 MB / 483.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.2942, allocations: 7.938 kB / 483.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009179/0.2951, allocations: 306.3 kB / 483.6 MB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000867/0.296, allocations: 381.9 kB / 484 MB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.3076, allocations: 4.133 MB / 488.1 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.3091, allocations: 0.9581 MB / 489.1 MB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.3093, allocations: 85.22 kB / 489.1 MB, free: 12.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006558/0.3099, allocations: 398.6 kB / 489.5 MB, free: 12.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.3104, allocations: 314.8 kB / 489.8 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.3104, allocations: 44 kB / 489.9 MB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01862/0.3291, allocations: 10.54 MB / 0.4887 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.3293, allocations: 107.6 kB / 0.4888 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.3297, allocations: 235.1 kB / 0.489 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02599/0.3557, allocations: 11.5 MB / 0.5003 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3557, allocations: 4 kB / 0.5003 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3557, allocations: 0 / 0.5003 GB, free: 5.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3557, allocations: 0 / 0.5003 GB, free: 5.523 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.00593/0.3617, allocations: 1.109 MB / 0.5013 GB, free: 4.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3617, allocations: 12.03 kB / 0.5013 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.675e-05/0.3618, allocations: 70.53 kB / 0.5014 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005977/0.3624, allocations: 63.73 kB / 0.5015 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.3629, allocations: 264.6 kB / 0.5017 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3629, allocations: 20.66 kB / 0.5017 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.363, allocations: 39.94 kB / 0.5018 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/0.3639, allocations: 463.8 kB / 0.5022 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.3639, allocations: 7.938 kB / 0.5022 GB, free: 3.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3639, allocations: 12 kB / 0.5022 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3639, allocations: 12 kB / 0.5023 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.3647, allocations: 390.3 kB / 0.5026 GB, free: 2.98 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.003818/0.3685, allocations: 2.818 MB / 0.5054 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.3692, allocations: 279.5 kB / 0.5057 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.3694, allocations: 128.8 kB / 0.5058 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.3708, allocations: 463.5 kB / 0.5062 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3709, allocations: 42.5 kB / 0.5063 GB, free: 15.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.3709, allocations: 0 / 0.5063 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005432/0.3763, allocations: 1.159 MB / 0.5074 GB, free: 13.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.3763, allocations: 55.41 kB / 0.5074 GB, free: 13.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.3766, allocations: 265.8 kB / 0.5077 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.3767, allocations: 29.7 kB / 0.5077 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3768, allocations: 192.4 kB / 0.5079 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3769, allocations: 126.9 kB / 0.508 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.377, allocations: 90 kB / 0.5081 GB, free: 13.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3772, allocations: 338.8 kB / 0.5084 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.3774, allocations: 112.8 kB / 0.5085 GB, free: 12.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.3777, allocations: 230 kB / 0.5088 GB, free: 12.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000525/0.3782, allocations: 370 kB / 0.5091 GB, free: 11.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3782, allocations: 4 kB / 0.5091 GB, free: 11.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008986/0.3791, allocations: 462.7 kB / 0.5096 GB, free: 11.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3791, allocations: 7.984 kB / 0.5096 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3791, allocations: 4 kB / 0.5096 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005752/0.3849, allocations: 249.9 kB / 0.5098 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.3852, allocations: 91.83 kB / 0.5099 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.3868, allocations: 1.832 MB / 0.5117 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3871, allocations: 16 kB / 0.5117 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.3871, allocations: 16 kB / 0.5117 GB, free: 9.109 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.0002264/0.3873, allocations: 173.8 kB / 0.5119 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.3875, allocations: 35.75 kB / 0.5119 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.3886, allocations: 0.7017 MB / 0.5126 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.3886, allocations: 11.98 kB / 0.5126 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3886, allocations: 0 / 0.5126 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009654/0.3896, allocations: 0.8789 MB / 0.5135 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.3912, allocations: 1.187 MB / 0.5146 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3912, allocations: 0 / 0.5146 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.3915, allocations: 71.83 kB / 0.5147 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.393, allocations: 180.5 kB / 0.5149 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.393, allocations: 12 kB / 0.5149 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004218/0.3935, allocations: 0.568 MB / 0.5154 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3935, allocations: 7.922 kB / 0.5154 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3945, allocations: 0.7419 MB / 0.5162 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.3946, allocations: 35.94 kB / 0.5162 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.3946, allocations: 19.88 kB / 0.5162 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3948, allocations: 8 kB / 0.5162 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.3949, allocations: 27.89 kB / 0.5163 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3949, allocations: 15.98 kB / 0.5163 GB, free: 4.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.3951, allocations: 215.1 kB / 0.5165 GB, free: 4.016 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3951, allocations: 0 / 0.5165 GB, free: 4.016 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004083/0.3992, allocations: 0.7559 MB / 0.5172 GB, free: 3.258 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.02567/0.4249, allocations: 7.606 MB / 0.5246 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.426, allocations: 458.5 kB / 0.5251 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.426, allocations: 8.125 kB / 0.5251 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.4264, allocations: 216.3 kB / 0.5253 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.4274, allocations: 187.3 kB / 0.5255 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008363/0.4358, allocations: 4.065 MB / 0.5294 GB, free: 6.508 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.4363, allocations: 0.8091 MB / 0.5302 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004244/0.4367, allocations: 182.9 kB / 0.5304 GB, free: 5.496 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.4369, allocations: 135.4 kB / 0.5305 GB, free: 5.363 MB / 446.1 MB Notification: Performance of SimCode: time 1.103e-06/0.4369, allocations: 4 kB / 0.5305 GB, free: 5.359 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2642/0.7011, allocations: 34.29 MB / 0.564 GB, free: 78.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.88, allocations: 10.75 kB / 0.564 GB, free: 78.31 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 & 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: 18.7857772080024]