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.001292/0.001292, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001456/0.001456, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.37/1.37, allocations: 230.5 MB / 258.2 MB, free: 8.008 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2484, allocations: 53.4 MB / 432 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4101/0.6584, allocations: 155.9 MB / 0.5741 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004/0.6624, allocations: 4.066 MB / 0.5781 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.6626, allocations: 0 / 0.5781 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.6631, allocations: 110.1 kB / 0.5782 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.6663, allocations: 1.244 MB / 0.5794 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.6674, allocations: 400.4 kB / 0.5798 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006458/0.668, allocations: 466.9 kB / 0.5802 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.6681, allocations: 8.062 kB / 0.5802 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.6685, allocations: 253 kB / 0.5805 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.6687, allocations: 150.7 kB / 0.5806 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.6688, allocations: 17.72 kB / 0.5806 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004229/0.673, allocations: 2.272 MB / 0.5828 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.6731, allocations: 141.2 kB / 0.583 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.6734, allocations: 163.4 kB / 0.5831 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.6761, allocations: 1.555 MB / 0.5846 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6761, allocations: 0 / 0.5846 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6761, allocations: 4 kB / 0.5847 GB, free: 11.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.6761, allocations: 0 / 0.5847 GB, free: 11.39 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.002132/0.6782, allocations: 0.7066 MB / 0.5853 GB, free: 10.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.6783, allocations: 9.719 kB / 0.5854 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.862e-05/0.6783, allocations: 16.25 kB / 0.5854 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.785e-05/0.6784, allocations: 66.19 kB / 0.5854 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006941/0.6791, allocations: 116.5 kB / 0.5855 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.6795, allocations: 217.6 kB / 0.5858 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.6795, allocations: 21.31 kB / 0.5858 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.92e-05/0.6796, allocations: 24.25 kB / 0.5858 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.6806, allocations: 0.5973 MB / 0.5864 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.6806, allocations: 0 / 0.5864 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.6807, allocations: 15.8 kB / 0.5864 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.6807, allocations: 21.89 kB / 0.5864 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.6819, allocations: 0.6496 MB / 0.587 GB, free: 10.31 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.002698/0.6846, allocations: 1.258 MB / 0.5883 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/0.6855, allocations: 352.4 kB / 0.5886 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.6859, allocations: 165.9 kB / 0.5888 GB, free: 9.523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/0.6878, allocations: 480.1 kB / 0.5892 GB, free: 9.402 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.6878, allocations: 46.39 kB / 0.5893 GB, free: 9.355 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.6878, allocations: 0 / 0.5893 GB, free: 9.355 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.01426/0.7021, allocations: 3.186 MB / 0.5924 GB, free: 7.992 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.7021, allocations: 90.11 kB / 0.5925 GB, free: 7.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.7023, allocations: 182.6 kB / 0.5926 GB, free: 7.766 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.7024, allocations: 35.02 kB / 0.5927 GB, free: 7.734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.7025, allocations: 180.1 kB / 0.5928 GB, free: 7.574 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.7027, allocations: 183.2 kB / 0.593 GB, free: 7.441 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.7029, allocations: 120.1 kB / 0.5931 GB, free: 7.402 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7031, allocations: 341.2 kB / 0.5935 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007202/0.7038, allocations: 259.7 kB / 0.5937 GB, free: 7.031 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008324/0.7046, allocations: 425.1 kB / 0.5941 GB, free: 6.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.7062, allocations: 0.6966 MB / 0.5948 GB, free: 6.516 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7062, allocations: 2.531 kB / 0.5948 GB, free: 6.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002001/0.7082, allocations: 0.7902 MB / 0.5956 GB, free: 6.129 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.7082, allocations: 7.656 kB / 0.5956 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7082, allocations: 4.812 kB / 0.5956 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.7084, allocations: 58.38 kB / 0.5956 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.7095, allocations: 180.5 kB / 0.5958 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008448/0.7103, allocations: 1.077 MB / 0.5969 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.7111, allocations: 50.73 kB / 0.5969 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.7111, allocations: 40.14 kB / 0.5969 GB, free: 4.926 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.0002799/0.7114, allocations: 172.6 kB / 0.5971 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.7115, allocations: 28.19 kB / 0.5971 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.7138, allocations: 0.7904 MB / 0.5979 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.7138, allocations: 5.406 kB / 0.5979 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.7138, allocations: 0 / 0.5979 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7138, allocations: 6.281 kB / 0.5979 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.7172, allocations: 1.529 MB / 0.5994 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.7173, allocations: 6.781 kB / 0.5994 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.7183, allocations: 147.8 kB / 0.5996 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.7184, allocations: 43.97 kB / 0.5996 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.7185, allocations: 25.69 kB / 0.5996 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.7204, allocations: 2.522 MB / 0.6021 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.7204, allocations: 6.797 kB / 0.6021 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.723, allocations: 1.073 MB / 0.6031 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.7231, allocations: 30.39 kB / 0.6032 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.7232, allocations: 9.094 kB / 0.6032 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007511/0.7239, allocations: 43.7 kB / 0.6032 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.724, allocations: 43.39 kB / 0.6033 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/0.7241, allocations: 34.91 kB / 0.6033 GB, free: 15.64 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.7242, allocations: 130.7 kB / 0.6034 GB, free: 15.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7242, allocations: 0 / 0.6034 GB, free: 15.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001337/0.7255, allocations: 392.8 kB / 0.6038 GB, free: 15.46 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.005006/0.7305, allocations: 2.384 MB / 0.6061 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.7325, allocations: 0.6331 MB / 0.6067 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7325, allocations: 0 / 0.6067 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.7336, allocations: 0.53 MB / 0.6073 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.7344, allocations: 101.3 kB / 0.6074 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008168/0.7425, allocations: 4.252 MB / 0.6115 GB, free: 8.191 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.743, allocations: 0.7813 MB / 0.6123 GB, free: 7.383 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008077/0.7438, allocations: 187.1 kB / 0.6125 GB, free: 7.199 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.7442, allocations: 131.3 kB / 0.6126 GB, free: 7.07 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7442, allocations: 4 kB / 0.6126 GB, free: 7.066 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05382/0.798, allocations: 20.42 MB / 0.6325 GB, free: 2.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.34, allocations: 14.89 kB / 0.6325 GB, free: 2.719 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 17.231851342017762]