Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008249/0.0008249, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008035/0.0008035, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8995/0.8995, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.458e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01922/0.01925, allocations: 24.43 MB / 342.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.03795, allocations: 22.03 MB / 364.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.03834, allocations: 7.938 kB / 364.9 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.03908, allocations: 278.2 kB / 365.2 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007701/0.03985, allocations: 397.4 kB / 365.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009871/0.04973, allocations: 4.172 MB / 369.7 MB, free: 2.867 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.051, allocations: 0.9617 MB / 370.7 MB, free: 1.902 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.05121, allocations: 69.23 kB / 370.8 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.05192, allocations: 0.522 MB / 371.3 MB, free: 1.309 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.05225, allocations: 275.2 kB / 371.6 MB, free: 1.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.0523, allocations: 36 kB / 371.6 MB, free: 1.004 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/0.06494, allocations: 10.15 MB / 381.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.06517, allocations: 115.6 kB / 381.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.0655, allocations: 171.7 kB / 382 MB, free: 6.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01815/0.08365, allocations: 11.99 MB / 394 MB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.08366, allocations: 4 kB / 394 MB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.08366, allocations: 0 / 394 MB, free: 10.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.08367, allocations: 0 / 394 MB, free: 10.54 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.004891/0.08856, allocations: 1.09 MB / 395.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.08862, allocations: 12.91 kB / 395.1 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.598e-05/0.08871, allocations: 70.48 kB / 395.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.08913, allocations: 75.72 kB / 395.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.08953, allocations: 264.5 kB / 395.5 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.08956, allocations: 24.66 kB / 395.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.0896, allocations: 35.98 kB / 395.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.09026, allocations: 0.6035 MB / 396.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.09027, allocations: 7.938 kB / 396.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.0903, allocations: 12 kB / 396.2 MB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.09031, allocations: 8 kB / 396.2 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.09077, allocations: 390.3 kB / 396.6 MB, free: 7.812 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.002252/0.09302, allocations: 2.226 MB / 398.8 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.09347, allocations: 274.8 kB / 399.1 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.09361, allocations: 129.3 kB / 399.2 MB, free: 5.098 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007923/0.0944, allocations: 467.5 kB / 399.7 MB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.09443, allocations: 34.56 kB / 399.7 MB, free: 4.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.465e-06/0.09444, allocations: 0 / 399.7 MB, free: 4.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003192/0.09763, allocations: 1.147 MB / 400.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.09767, allocations: 59.34 kB / 400.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.09791, allocations: 265.8 kB / 401.2 MB, free: 3.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.09794, allocations: 33.7 kB / 401.2 MB, free: 3.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.09805, allocations: 200.3 kB / 401.4 MB, free: 2.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.09811, allocations: 126.9 kB / 401.5 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.09819, allocations: 82.14 kB / 401.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.09829, allocations: 338.8 kB / 401.9 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.09842, allocations: 113 kB / 402 MB, free: 2.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.09862, allocations: 226.7 kB / 402.3 MB, free: 1.898 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.09897, allocations: 369.5 kB / 402.6 MB, free: 1.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.09898, allocations: 0 / 402.6 MB, free: 1.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005747/0.09955, allocations: 458.8 kB / 403.1 MB, free: 1.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.09957, allocations: 10.81 kB / 403.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.09958, allocations: 8 kB / 403.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/0.1017, allocations: 245.8 kB / 403.3 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.1019, allocations: 83.89 kB / 403.4 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.103, allocations: 1.835 MB / 405.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1031, allocations: 12 kB / 405.3 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.1032, allocations: 19.98 kB / 405.3 MB, free: 14.68 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.0001907/0.1034, allocations: 166.6 kB / 405.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.1034, allocations: 31.81 kB / 405.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/0.1042, allocations: 0.706 MB / 406.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.1042, allocations: 19.92 kB / 406.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1042, allocations: 0 / 406.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000601/0.1048, allocations: 0.8761 MB / 407.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1058, allocations: 1.129 MB / 408.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1058, allocations: 3.938 kB / 408.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1059, allocations: 63.91 kB / 408.3 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007307/0.1067, allocations: 176.5 kB / 408.4 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1067, allocations: 11.98 kB / 408.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003908/0.1071, allocations: 0.5796 MB / 409 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1071, allocations: 3.984 kB / 409 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/0.1077, allocations: 0.7515 MB / 409.8 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.1078, allocations: 39.73 kB / 409.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1078, allocations: 4 kB / 409.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1079, allocations: 11.98 kB / 409.8 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.1079, allocations: 19.97 kB / 409.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.108, allocations: 15.98 kB / 409.9 MB, free: 9.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1081, allocations: 223.1 kB / 410.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1081, allocations: 0 / 410.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003291/0.1114, allocations: 0.7519 MB / 410.9 MB, free: 8.895 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.0194/0.1308, allocations: 7.703 MB / 418.6 MB, free: 1.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000879/0.1317, allocations: 466.5 kB / 419 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1317, allocations: 0.875 kB / 419 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.132, allocations: 209.9 kB / 419.2 MB, free: 488 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.1327, allocations: 192.1 kB / 419.4 MB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006438/0.1391, allocations: 4.014 MB / 423.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.1393, allocations: 200.8 kB / 423.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003513/0.1396, allocations: 202.8 kB / 423.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.1398, allocations: 140.5 kB / 424 MB, free: 11.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1398, allocations: 0 / 424 MB, free: 11.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1836/0.3233, allocations: 35.16 MB / 459.1 MB, free: 115.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.045/9.369, allocations: 12.47 kB / 459.1 MB, free: 115.8 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.610108317807317]