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.001819/0.001819, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002185/0.002185, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.423/1.423, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.001815/0.001815, allocations: 67.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09897, allocations: 53.33 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3632/0.4622, allocations: 155.9 MB / 0.5689 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004978/0.4672, allocations: 4.056 MB / 0.5728 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.4673, allocations: 6.906 kB / 0.5728 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.4678, allocations: 111.4 kB / 0.5729 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.4706, allocations: 1.176 MB / 0.5741 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.4716, allocations: 393.8 kB / 0.5745 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006434/0.4723, allocations: 458.8 kB / 0.5749 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.4723, allocations: 6.094 kB / 0.5749 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004423/0.4728, allocations: 254.4 kB / 0.5751 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.473, allocations: 147.5 kB / 0.5753 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.4731, allocations: 16 kB / 0.5753 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003995/0.4771, allocations: 2.173 MB / 0.5774 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.4772, allocations: 139.6 kB / 0.5776 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.4774, allocations: 167.3 kB / 0.5777 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.48, allocations: 1.543 MB / 0.5792 GB, free: 10.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.48, allocations: 3.984 kB / 0.5792 GB, free: 10.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.48, allocations: 4 kB / 0.5792 GB, free: 10.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.48, allocations: 0 / 0.5792 GB, free: 10.25 MB / 494.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.00219/0.4822, allocations: 0.7827 MB / 0.58 GB, free: 9.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4822, allocations: 8.031 kB / 0.58 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.652e-05/0.4823, allocations: 74.72 kB / 0.5801 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007314/0.4831, allocations: 104.7 kB / 0.5802 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.4836, allocations: 279.2 kB / 0.5804 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.4836, allocations: 20.56 kB / 0.5805 GB, free: 8.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.4837, allocations: 24 kB / 0.5805 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.4848, allocations: 0.6004 MB / 0.5811 GB, free: 8.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4849, allocations: 0 / 0.5811 GB, free: 8.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/0.4849, allocations: 12 kB / 0.5811 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/0.4849, allocations: 20.42 kB / 0.5811 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.4863, allocations: 0.6429 MB / 0.5817 GB, free: 7.59 MB / 494.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.003081/0.4893, allocations: 1.276 MB / 0.583 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/0.4903, allocations: 352.3 kB / 0.5833 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.4907, allocations: 173.5 kB / 0.5835 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002491/0.4932, allocations: 1.369 MB / 0.5848 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.4933, allocations: 46.44 kB / 0.5849 GB, free: 4.078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.063e-06/0.4933, allocations: 0 / 0.5849 GB, free: 4.078 MB / 494.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.0151/0.5084, allocations: 3.497 MB / 0.5883 GB, free: 392 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5084, allocations: 81.11 kB / 0.5883 GB, free: 292 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.5086, allocations: 183.2 kB / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.5087, allocations: 37.7 kB / 0.5886 GB, free: 56 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.5088, allocations: 176.6 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.509, allocations: 182.5 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.5092, allocations: 118.3 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5093, allocations: 338.8 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/0.5101, allocations: 261.1 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008839/0.511, allocations: 425.5 kB / 0.59 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.5126, allocations: 0.6958 MB / 0.5907 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.5126, allocations: 4 kB / 0.5907 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002033/0.5146, allocations: 0.7792 MB / 0.5914 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5147, allocations: 9.25 kB / 0.5914 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5147, allocations: 4 kB / 0.5914 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.5149, allocations: 65.56 kB / 0.5915 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5161, allocations: 175.7 kB / 0.5917 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007582/0.5168, allocations: 1.077 MB / 0.5927 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/0.5176, allocations: 47.89 kB / 0.5928 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/0.5177, allocations: 39.8 kB / 0.5928 GB, free: 11.47 MB / 0.4981 GB 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.0002707/0.518, allocations: 177.6 kB / 0.593 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.5181, allocations: 27.81 kB / 0.593 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.5203, allocations: 0.7847 MB / 0.5938 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.5203, allocations: 8 kB / 0.5938 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5203, allocations: 0 / 0.5938 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.5203, allocations: 0 / 0.5938 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.5238, allocations: 1.562 MB / 0.5953 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.5238, allocations: 4 kB / 0.5953 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.5249, allocations: 147.7 kB / 0.5955 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.525, allocations: 45.84 kB / 0.5955 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.628e-05/0.5251, allocations: 27.97 kB / 0.5955 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.5272, allocations: 2.726 MB / 0.5982 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5272, allocations: 4.031 kB / 0.5982 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.5298, allocations: 1.076 MB / 0.5992 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/0.5299, allocations: 96.97 kB / 0.5993 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.53, allocations: 17.19 kB / 0.5994 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/0.5308, allocations: 40 kB / 0.5994 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.5309, allocations: 55.73 kB / 0.5994 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.5309, allocations: 35.97 kB / 0.5995 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001059/0.531, allocations: 124.4 kB / 0.5996 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.531, allocations: 0 / 0.5996 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001315/0.5324, allocations: 391.2 kB / 0.6 GB, free: 3.684 MB / 0.4981 GB 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.005206/0.5376, allocations: 2.382 MB / 0.6023 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.5395, allocations: 0.6284 MB / 0.6029 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5395, allocations: 4 kB / 0.6029 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.5407, allocations: 0.5248 MB / 0.6034 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.5415, allocations: 106.5 kB / 0.6035 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008561/0.5501, allocations: 4.242 MB / 0.6077 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.5506, allocations: 0.7813 MB / 0.6084 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008791/0.5514, allocations: 191.1 kB / 0.6086 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.5518, allocations: 131.4 kB / 0.6087 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.5518, allocations: 0 / 0.6087 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2886/0.8404, allocations: 19.89 MB / 0.6282 GB, free: 175.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.93, allocations: 9.891 kB / 0.6282 GB, free: 175.3 MB / 0.5137 GB " [Timeout remaining time 646] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.59165002917871]