Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002485/0.002485, allocations: 214.7 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 71.88 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2532, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4474/0.7006, allocations: 155.9 MB / 0.5733 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003964/0.7045, allocations: 4.06 MB / 0.5773 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.7047, allocations: 4.438 kB / 0.5773 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.7052, allocations: 112.8 kB / 0.5774 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.7081, allocations: 1.242 MB / 0.5786 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.7092, allocations: 403.8 kB / 0.579 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006155/0.7098, allocations: 462.2 kB / 0.5794 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.7099, allocations: 15.8 kB / 0.5795 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.7102, allocations: 250.5 kB / 0.5797 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.7105, allocations: 152.5 kB / 0.5798 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.7105, allocations: 18.84 kB / 0.5799 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004125/0.7146, allocations: 2.267 MB / 0.5821 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.7148, allocations: 139 kB / 0.5822 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.715, allocations: 168 kB / 0.5824 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.7175, allocations: 1.55 MB / 0.5839 GB, free: 11.28 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7175, allocations: 2.5 kB / 0.5839 GB, free: 11.28 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7175, allocations: 4 kB / 0.5839 GB, free: 11.28 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.7175, allocations: 0 / 0.5839 GB, free: 11.28 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.002172/0.7197, allocations: 0.7081 MB / 0.5846 GB, free: 10.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7197, allocations: 9.688 kB / 0.5846 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.245e-05/0.7198, allocations: 75.84 kB / 0.5847 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00069/0.7205, allocations: 109.1 kB / 0.5848 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.721, allocations: 218.4 kB / 0.585 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.721, allocations: 17.09 kB / 0.585 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.7211, allocations: 32.75 kB / 0.585 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.7221, allocations: 0.5978 MB / 0.5856 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.7221, allocations: 0 / 0.5856 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.7221, allocations: 22.14 kB / 0.5856 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.7222, allocations: 16.16 kB / 0.5856 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.7233, allocations: 0.6512 MB / 0.5863 GB, free: 10.2 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.002866/0.7262, allocations: 1.246 MB / 0.5875 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.7271, allocations: 355 kB / 0.5878 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.7275, allocations: 170.7 kB / 0.588 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002028/0.7295, allocations: 471.5 kB / 0.5884 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.7296, allocations: 44.31 kB / 0.5885 GB, free: 9.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 6.322e-06/0.7296, allocations: 7.062 kB / 0.5885 GB, free: 9.246 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.0149/0.7445, allocations: 3.193 MB / 0.5916 GB, free: 7.883 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.7445, allocations: 88.77 kB / 0.5917 GB, free: 7.785 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.7447, allocations: 184 kB / 0.5919 GB, free: 7.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.215e-05/0.7448, allocations: 39.48 kB / 0.5919 GB, free: 7.621 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.7449, allocations: 177 kB / 0.5921 GB, free: 7.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.7451, allocations: 183.6 kB / 0.5923 GB, free: 7.332 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.7453, allocations: 123.8 kB / 0.5924 GB, free: 7.289 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.7454, allocations: 333.6 kB / 0.5927 GB, free: 6.969 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006827/0.7461, allocations: 270.3 kB / 0.5929 GB, free: 6.918 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.7469, allocations: 422.6 kB / 0.5933 GB, free: 6.676 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.7485, allocations: 0.6947 MB / 0.594 GB, free: 6.402 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.7485, allocations: 2.688 kB / 0.594 GB, free: 6.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00195/0.7504, allocations: 0.7821 MB / 0.5948 GB, free: 6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.7504, allocations: 6.875 kB / 0.5948 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.7504, allocations: 6.062 kB / 0.5948 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.7507, allocations: 61.11 kB / 0.5949 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7518, allocations: 179.4 kB / 0.595 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008139/0.7527, allocations: 1.072 MB / 0.5961 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.7535, allocations: 46.67 kB / 0.5961 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/0.7535, allocations: 43.38 kB / 0.5962 GB, free: 4.801 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.0003089/0.7539, allocations: 181 kB / 0.5963 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.754, allocations: 27.3 kB / 0.5964 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.7561, allocations: 0.7857 MB / 0.5971 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.7561, allocations: 7.5 kB / 0.5971 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7561, allocations: 0 / 0.5971 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.7561, allocations: 4 kB / 0.5971 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.7596, allocations: 1.521 MB / 0.5986 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7596, allocations: 5.75 kB / 0.5986 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.7607, allocations: 154.9 kB / 0.5988 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001552/0.7608, allocations: 39.62 kB / 0.5988 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.7609, allocations: 22.11 kB / 0.5988 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.7629, allocations: 2.527 MB / 0.6013 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7629, allocations: 2.688 kB / 0.6013 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.7656, allocations: 1.079 MB / 0.6024 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.7657, allocations: 22.73 kB / 0.6024 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.7658, allocations: 16.69 kB / 0.6024 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.7666, allocations: 36.14 kB / 0.6024 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.7667, allocations: 55.33 kB / 0.6025 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.7668, allocations: 34.88 kB / 0.6025 GB, free: 15.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.7669, allocations: 129.9 kB / 0.6026 GB, free: 15.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7669, allocations: 0 / 0.6026 GB, free: 15.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001603/0.7685, allocations: 392.3 kB / 0.603 GB, free: 15.34 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.005519/0.774, allocations: 2.38 MB / 0.6053 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.7761, allocations: 0.6411 MB / 0.606 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7761, allocations: 0 / 0.606 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.7773, allocations: 0.5251 MB / 0.6065 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.7781, allocations: 101.5 kB / 0.6066 GB, free: 12.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008865/0.787, allocations: 4.253 MB / 0.6107 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.7874, allocations: 0.7774 MB / 0.6115 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000877/0.7883, allocations: 191.1 kB / 0.6117 GB, free: 7.086 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.7887, allocations: 132.6 kB / 0.6118 GB, free: 6.957 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7887, allocations: 0 / 0.6118 GB, free: 6.957 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05827/0.847, allocations: 20.39 MB / 0.6317 GB, free: 2.645 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.35, allocations: 11.98 kB / 0.6317 GB, free: 2.633 MB / 494.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 18.027011678001145]