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.00114/0.00114, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001057/0.001057, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9085/0.9085, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 2.014e-06/2.014e-06, allocations: 3.938 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.359e-05, allocations: 4.812 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01846/0.01849, allocations: 24.53 MB / 349.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.0356, allocations: 22.04 MB / 371.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003504/0.03595, allocations: 11.94 kB / 371.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.03665, allocations: 270.3 kB / 371.4 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006431/0.03729, allocations: 401.3 kB / 371.8 MB, free: 396 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008537/0.04583, allocations: 4.177 MB / 376 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.04687, allocations: 0.9617 MB / 377 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.04706, allocations: 85.06 kB / 377 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.04761, allocations: 0.5142 MB / 377.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.04792, allocations: 275.2 kB / 377.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.04796, allocations: 36 kB / 377.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.05954, allocations: 10.17 MB / 388 MB, free: 140 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.05974, allocations: 115.6 kB / 388.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.06003, allocations: 175.7 kB / 388.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01873/0.07876, allocations: 12 MB / 400.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.07876, allocations: 0 / 400.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07877, allocations: 0 / 400.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.07877, allocations: 0 / 400.3 MB, free: 3.84 MB / 362.7 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.004449/0.08322, allocations: 1.101 MB / 401.4 MB, free: 2.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.08327, allocations: 8.031 kB / 401.4 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/0.08333, allocations: 74.53 kB / 401.5 MB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.08369, allocations: 67.73 kB / 401.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.08409, allocations: 260.6 kB / 401.8 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.08411, allocations: 24.66 kB / 401.8 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.08415, allocations: 32 kB / 401.9 MB, free: 2.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.08477, allocations: 0.6074 MB / 402.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.08479, allocations: 11.89 kB / 402.5 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.08482, allocations: 16 kB / 402.5 MB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.08483, allocations: 11.98 kB / 402.5 MB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.08552, allocations: 382.3 kB / 402.9 MB, free: 1.113 MB / 362.7 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.002026/0.08754, allocations: 2.222 MB / 405.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.08799, allocations: 281.3 kB / 405.4 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.08812, allocations: 124.8 kB / 405.5 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00076/0.08888, allocations: 467.4 kB / 406 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.0889, allocations: 42.5 kB / 406 MB, free: 13.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.345e-06/0.08891, allocations: 0 / 406 MB, free: 13.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.003185/0.09209, allocations: 1.155 MB / 407.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.09212, allocations: 55.41 kB / 407.2 MB, free: 12.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.09233, allocations: 261.9 kB / 407.5 MB, free: 12.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.09235, allocations: 37.69 kB / 407.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.09245, allocations: 196.3 kB / 407.7 MB, free: 12.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.09252, allocations: 126.9 kB / 407.8 MB, free: 12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.0926, allocations: 82.14 kB / 407.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.09269, allocations: 338.8 kB / 408.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.09282, allocations: 116.9 kB / 408.3 MB, free: 11.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.093, allocations: 226.7 kB / 408.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.09334, allocations: 378 kB / 408.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.09334, allocations: 0 / 408.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005664/0.09391, allocations: 466.7 kB / 409.4 MB, free: 10.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.09393, allocations: 8 kB / 409.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.09394, allocations: 7.938 kB / 409.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/0.09662, allocations: 241.9 kB / 409.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.09683, allocations: 91.83 kB / 409.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.09801, allocations: 1.835 MB / 411.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.09816, allocations: 12 kB / 411.6 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.09818, allocations: 20 kB / 411.6 MB, free: 7.957 MB / 378.7 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.0001535/0.09833, allocations: 166 kB / 411.8 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.09842, allocations: 35.8 kB / 411.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006689/0.09909, allocations: 0.7066 MB / 412.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.0991, allocations: 19.84 kB / 412.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.0991, allocations: 0 / 412.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005489/0.09965, allocations: 0.8763 MB / 413.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009794/0.1006, allocations: 1.129 MB / 414.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1006, allocations: 7.875 kB / 414.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.1008, allocations: 63.91 kB / 414.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007036/0.1015, allocations: 180.5 kB / 414.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.1015, allocations: 12 kB / 414.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002505/0.1017, allocations: 0.568 MB / 415.4 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1018, allocations: 96 / 415.4 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.1024, allocations: 0.7549 MB / 416.1 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.1025, allocations: 39.72 kB / 416.1 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1025, allocations: 8.062 kB / 416.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1026, allocations: 12 kB / 416.2 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1026, allocations: 19.95 kB / 416.2 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1026, allocations: 16 kB / 416.2 MB, free: 3.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1028, allocations: 223.1 kB / 416.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1028, allocations: 0 / 416.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003658/0.1064, allocations: 0.7597 MB / 417.2 MB, free: 2.156 MB / 378.7 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.01739/0.1238, allocations: 7.696 MB / 424.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007534/0.1246, allocations: 469.9 kB / 425.3 MB, free: 9.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1246, allocations: 0 / 425.3 MB, free: 9.941 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.1249, allocations: 216 kB / 425.5 MB, free: 9.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.1255, allocations: 202.7 kB / 425.7 MB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/0.1315, allocations: 3.989 MB / 429.7 MB, free: 5.375 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.1316, allocations: 212.8 kB / 429.9 MB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003582/0.132, allocations: 203.4 kB / 430.1 MB, free: 4.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.1321, allocations: 136.5 kB / 430.3 MB, free: 4.809 MB / 394.7 MB Notification: Performance of SimCode: time 1.674e-06/0.1321, allocations: 0 / 430.3 MB, free: 4.809 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1809/0.313, allocations: 35.25 MB / 465.5 MB, free: 98.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.971/9.284, allocations: 3.094 kB / 465.5 MB, free: 98.49 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/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: 12.529829719103873]