Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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.001747/0.001747, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001446/0.001446, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 55.91 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2427, allocations: 53.35 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4294/0.6721, allocations: 155.9 MB / 0.5733 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.6759, allocations: 4.057 MB / 0.5772 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.6761, allocations: 5.781 kB / 0.5773 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.6765, allocations: 102.7 kB / 0.5774 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.6792, allocations: 1.251 MB / 0.5786 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.6802, allocations: 395.8 kB / 0.579 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.6807, allocations: 461.3 kB / 0.5794 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.893e-05/0.6808, allocations: 7.75 kB / 0.5794 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003973/0.6812, allocations: 259 kB / 0.5796 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.6814, allocations: 152.2 kB / 0.5798 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.6815, allocations: 15.72 kB / 0.5798 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003941/0.6854, allocations: 2.276 MB / 0.582 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.6855, allocations: 133.7 kB / 0.5822 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.6857, allocations: 167.8 kB / 0.5823 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.6885, allocations: 1.552 MB / 0.5838 GB, free: 11.4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6885, allocations: 0 / 0.5838 GB, free: 11.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6885, allocations: 1.781 kB / 0.5838 GB, free: 11.4 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.6886, allocations: 4 kB / 0.5838 GB, free: 11.4 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002326/0.6909, allocations: 0.7106 MB / 0.5845 GB, free: 10.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6909, allocations: 10.09 kB / 0.5845 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.601e-05/0.691, allocations: 68.12 kB / 0.5846 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007083/0.6917, allocations: 110.4 kB / 0.5847 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.6922, allocations: 223.8 kB / 0.5849 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.6922, allocations: 17.53 kB / 0.5849 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/0.6923, allocations: 29.39 kB / 0.585 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.6933, allocations: 0.6023 MB / 0.5856 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.6933, allocations: 2.219 kB / 0.5856 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.6934, allocations: 9.5 kB / 0.5856 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.6934, allocations: 25.7 kB / 0.5856 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.6946, allocations: 0.6485 MB / 0.5862 GB, free: 10.32 MB / 462.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.002963/0.6975, allocations: 1.241 MB / 0.5874 GB, free: 9.703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009561/0.6985, allocations: 359 kB / 0.5878 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/0.6989, allocations: 168.1 kB / 0.5879 GB, free: 9.539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/0.701, allocations: 477.8 kB / 0.5884 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.7011, allocations: 48.17 kB / 0.5884 GB, free: 9.367 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.645e-06/0.7011, allocations: 0 / 0.5884 GB, free: 9.367 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01477/0.7158, allocations: 3.187 MB / 0.5916 GB, free: 8.004 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.7159, allocations: 86.17 kB / 0.5916 GB, free: 7.906 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.7161, allocations: 191.4 kB / 0.5918 GB, free: 7.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.7161, allocations: 31.52 kB / 0.5919 GB, free: 7.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.7163, allocations: 182.7 kB / 0.592 GB, free: 7.586 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.7165, allocations: 184.2 kB / 0.5922 GB, free: 7.453 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.7166, allocations: 120.1 kB / 0.5923 GB, free: 7.414 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7168, allocations: 333.8 kB / 0.5926 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006787/0.7175, allocations: 266.5 kB / 0.5929 GB, free: 7.043 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008151/0.7183, allocations: 426.8 kB / 0.5933 GB, free: 6.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.7198, allocations: 0.6946 MB / 0.594 GB, free: 6.527 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7198, allocations: 2.125 kB / 0.594 GB, free: 6.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001928/0.7217, allocations: 0.7825 MB / 0.5947 GB, free: 6.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.7217, allocations: 7.875 kB / 0.5947 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7218, allocations: 5.219 kB / 0.5948 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.722, allocations: 58.44 kB / 0.5948 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.7231, allocations: 180.7 kB / 0.595 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008644/0.724, allocations: 1.088 MB / 0.596 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/0.7248, allocations: 47.02 kB / 0.5961 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.7249, allocations: 35.33 kB / 0.5961 GB, free: 4.973 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.000309/0.7252, allocations: 173.4 kB / 0.5963 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.7253, allocations: 35.02 kB / 0.5963 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.7275, allocations: 0.7897 MB / 0.5971 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.7275, allocations: 6.266 kB / 0.5971 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.7275, allocations: 1.812 kB / 0.5971 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.7275, allocations: 0 / 0.5971 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.7309, allocations: 1.522 MB / 0.5986 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.7309, allocations: 4.062 kB / 0.5986 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.7319, allocations: 150.6 kB / 0.5987 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.7321, allocations: 41.41 kB / 0.5988 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.7321, allocations: 26.12 kB / 0.5988 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.7342, allocations: 2.531 MB / 0.6013 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.7342, allocations: 6.266 kB / 0.6013 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.7368, allocations: 1.076 MB / 0.6023 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.7369, allocations: 26.17 kB / 0.6024 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.7369, allocations: 13.28 kB / 0.6024 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/0.7377, allocations: 40.14 kB / 0.6024 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.7378, allocations: 47.02 kB / 0.6024 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.7379, allocations: 34.53 kB / 0.6025 GB, free: 15.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.738, allocations: 130.1 kB / 0.6026 GB, free: 15.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.738, allocations: 0 / 0.6026 GB, free: 15.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001432/0.7394, allocations: 396.8 kB / 0.603 GB, free: 15.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005331/0.7448, allocations: 2.374 MB / 0.6053 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.7468, allocations: 0.6362 MB / 0.6059 GB, free: 13.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.7468, allocations: 0 / 0.6059 GB, free: 13.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.7479, allocations: 0.5346 MB / 0.6064 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008127/0.7487, allocations: 100.2 kB / 0.6065 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008771/0.7575, allocations: 4.247 MB / 0.6107 GB, free: 8.309 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.758, allocations: 0.7852 MB / 0.6115 GB, free: 7.496 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008687/0.7588, allocations: 191.1 kB / 0.6116 GB, free: 7.309 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.7593, allocations: 132.5 kB / 0.6118 GB, free: 7.18 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7593, allocations: 0 / 0.6118 GB, free: 7.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05954/0.8188, allocations: 20.4 MB / 0.6317 GB, free: 2.918 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.2, allocations: 2.578 kB / 0.6317 GB, free: 2.918 MB / 494.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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.92605645200092]