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.001304/0.001304, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001353/0.001353, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.425/1.425, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001813/0.001813, allocations: 63.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.1015, allocations: 53.38 MB / 427 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3608/0.4622, allocations: 155.9 MB / 0.5693 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004876/0.4671, allocations: 4.04 MB / 0.5732 GB, free: 264 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.4673, allocations: 4 kB / 0.5732 GB, free: 260 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.4677, allocations: 119.4 kB / 0.5733 GB, free: 140 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.4704, allocations: 1.182 MB / 0.5745 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000977/0.4713, allocations: 390.1 kB / 0.5748 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006372/0.472, allocations: 458.9 kB / 0.5753 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.472, allocations: 10.03 kB / 0.5753 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.4724, allocations: 243 kB / 0.5755 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.4727, allocations: 155.5 kB / 0.5757 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.4727, allocations: 16 kB / 0.5757 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.4764, allocations: 2.178 MB / 0.5778 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.4765, allocations: 139.6 kB / 0.5779 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.4767, allocations: 175.3 kB / 0.5781 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.4789, allocations: 1.535 MB / 0.5796 GB, free: 9.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4789, allocations: 4 kB / 0.5796 GB, free: 9.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4789, allocations: 4 kB / 0.5796 GB, free: 9.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4789, allocations: 0 / 0.5796 GB, free: 9.672 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.0022/0.4811, allocations: 0.7827 MB / 0.5804 GB, free: 8.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4812, allocations: 12.03 kB / 0.5804 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.308e-05/0.4812, allocations: 4.75 kB / 0.5804 GB, free: 8.824 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.534e-05/0.4813, allocations: 70.72 kB / 0.5805 GB, free: 8.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/0.482, allocations: 108.9 kB / 0.5806 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.4824, allocations: 282.6 kB / 0.5808 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.4824, allocations: 20.56 kB / 0.5809 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.4825, allocations: 24 kB / 0.5809 GB, free: 8.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4837, allocations: 0.5965 MB / 0.5815 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.4837, allocations: 0 / 0.5815 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.4837, allocations: 16 kB / 0.5815 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.4838, allocations: 16.44 kB / 0.5815 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.4851, allocations: 0.6424 MB / 0.5821 GB, free: 6.996 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.002976/0.4881, allocations: 1.279 MB / 0.5834 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4892, allocations: 345.1 kB / 0.5837 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.4896, allocations: 165.5 kB / 0.5839 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002502/0.4921, allocations: 1.377 MB / 0.5852 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.4922, allocations: 42.56 kB / 0.5852 GB, free: 3.488 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.4922, allocations: 0 / 0.5852 GB, free: 3.488 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.01586/0.508, allocations: 3.492 MB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.5081, allocations: 89.05 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.5083, allocations: 179.2 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.5083, allocations: 33.7 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.5085, allocations: 180.6 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.5086, allocations: 178.5 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.5089, allocations: 122.2 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.509, allocations: 342.8 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008028/0.5098, allocations: 261.1 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009655/0.5108, allocations: 425.5 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.5125, allocations: 0.7028 MB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5126, allocations: 4 kB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002113/0.5147, allocations: 0.7729 MB / 0.5918 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5147, allocations: 8 kB / 0.5918 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5147, allocations: 11.88 kB / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.5149, allocations: 58.31 kB / 0.5919 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.5161, allocations: 179.7 kB / 0.5921 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007602/0.5169, allocations: 1.074 MB / 0.5931 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.5177, allocations: 47.95 kB / 0.5932 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/0.5177, allocations: 35.98 kB / 0.5932 GB, free: 10.89 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.0002536/0.518, allocations: 181.8 kB / 0.5934 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.5181, allocations: 31.81 kB / 0.5934 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.5204, allocations: 0.7752 MB / 0.5942 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5204, allocations: 8 kB / 0.5942 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.5204, allocations: 0 / 0.5942 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5204, allocations: 3.984 kB / 0.5942 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.5239, allocations: 1.563 MB / 0.5957 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5239, allocations: 4 kB / 0.5957 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.525, allocations: 147.7 kB / 0.5959 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.5252, allocations: 45.91 kB / 0.5959 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.5252, allocations: 23.98 kB / 0.5959 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.5273, allocations: 2.727 MB / 0.5986 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5273, allocations: 9.641 kB / 0.5986 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.5301, allocations: 1.069 MB / 0.5996 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.5301, allocations: 101 kB / 0.5997 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.5302, allocations: 16 kB / 0.5997 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/0.5311, allocations: 43.95 kB / 0.5998 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.5311, allocations: 51.75 kB / 0.5998 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.5312, allocations: 31.97 kB / 0.5999 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.723e-05/0.5313, allocations: 128.4 kB / 0.6 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.5313, allocations: 0 / 0.6 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001374/0.5327, allocations: 391.2 kB / 0.6004 GB, free: 3.105 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.005477/0.5382, allocations: 2.377 MB / 0.6027 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.5401, allocations: 0.6397 MB / 0.6033 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5402, allocations: 384 / 0.6033 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.5414, allocations: 0.5254 MB / 0.6038 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.5422, allocations: 109.4 kB / 0.6039 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/0.5508, allocations: 4.251 MB / 0.6081 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.5513, allocations: 0.7892 MB / 0.6088 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008231/0.5521, allocations: 183.1 kB / 0.609 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.5525, allocations: 127.4 kB / 0.6091 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.5525, allocations: 0 / 0.6091 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2302/0.7827, allocations: 19.93 MB / 0.6286 GB, free: 175 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.71, allocations: 12.72 kB / 0.6286 GB, free: 174.9 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/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: 16.667575191007927]