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.001748/0.001748, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.002296/0.002296, allocations: 208.2 kB / 24.52 MB, free: 4.066 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.382/1.382, allocations: 230.6 MB / 258.3 MB, free: 8.012 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 47.92 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2372, allocations: 53.37 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3797/0.6169, allocations: 155.9 MB / 0.5741 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.6206, allocations: 4.055 MB / 0.578 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.6208, allocations: 3.531 kB / 0.578 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.6212, allocations: 110 kB / 0.5781 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.6238, allocations: 1.245 MB / 0.5793 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009105/0.6247, allocations: 395.7 kB / 0.5797 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005506/0.6253, allocations: 465 kB / 0.5802 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.6253, allocations: 17.16 kB / 0.5802 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.6258, allocations: 256.8 kB / 0.5804 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.626, allocations: 156.9 kB / 0.5806 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.6261, allocations: 14.88 kB / 0.5806 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.6295, allocations: 2.261 MB / 0.5828 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.6296, allocations: 146.2 kB / 0.5829 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.6298, allocations: 164.8 kB / 0.5831 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.6322, allocations: 1.552 MB / 0.5846 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6322, allocations: 0 / 0.5846 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.6322, allocations: 0 / 0.5846 GB, free: 11.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.6322, allocations: 0 / 0.5846 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.002167/0.6344, allocations: 0.7122 MB / 0.5853 GB, free: 10.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.6344, allocations: 17.95 kB / 0.5853 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.093e-05/0.6344, allocations: 8.438 kB / 0.5853 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.23e-05/0.6345, allocations: 66.05 kB / 0.5854 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007288/0.6352, allocations: 108.8 kB / 0.5855 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.6357, allocations: 221.2 kB / 0.5857 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.6357, allocations: 21.5 kB / 0.5857 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.6357, allocations: 31.48 kB / 0.5858 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.6368, allocations: 0.5929 MB / 0.5863 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.6368, allocations: 0 / 0.5863 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.6369, allocations: 12.06 kB / 0.5863 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.6369, allocations: 27.17 kB / 0.5864 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.6381, allocations: 0.6517 MB / 0.587 GB, free: 10.3 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.00284/0.6409, allocations: 1.248 MB / 0.5882 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/0.6418, allocations: 342.6 kB / 0.5886 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.6423, allocations: 173.1 kB / 0.5887 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.6443, allocations: 480 kB / 0.5892 GB, free: 9.398 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.6443, allocations: 37.72 kB / 0.5892 GB, free: 9.359 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.894e-06/0.6443, allocations: 0 / 0.5892 GB, free: 9.359 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.0148/0.6591, allocations: 3.202 MB / 0.5923 GB, free: 7.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.6592, allocations: 89.58 kB / 0.5924 GB, free: 7.879 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.6594, allocations: 185 kB / 0.5926 GB, free: 7.754 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/0.6595, allocations: 32.17 kB / 0.5926 GB, free: 7.723 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.6596, allocations: 189.5 kB / 0.5928 GB, free: 7.559 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.6598, allocations: 180 kB / 0.593 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.66, allocations: 121.9 kB / 0.5931 GB, free: 7.387 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6601, allocations: 336.3 kB / 0.5934 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.6609, allocations: 263.7 kB / 0.5937 GB, free: 7.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008481/0.6617, allocations: 420.6 kB / 0.5941 GB, free: 6.777 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.6633, allocations: 0.7014 MB / 0.5948 GB, free: 6.504 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6633, allocations: 0 / 0.5948 GB, free: 6.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001952/0.6653, allocations: 0.7819 MB / 0.5955 GB, free: 6.164 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6653, allocations: 12.64 kB / 0.5955 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.6653, allocations: 5.156 kB / 0.5955 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.6655, allocations: 53.25 kB / 0.5956 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.6666, allocations: 183 kB / 0.5958 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007504/0.6673, allocations: 1.071 MB / 0.5968 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.6681, allocations: 52.55 kB / 0.5969 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/0.6682, allocations: 38.42 kB / 0.5969 GB, free: 4.965 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.000263/0.6685, allocations: 177.3 kB / 0.5971 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.6686, allocations: 32.05 kB / 0.5971 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.6708, allocations: 0.7831 MB / 0.5979 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.6708, allocations: 5.25 kB / 0.5979 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.6708, allocations: 5.203 kB / 0.5979 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6708, allocations: 6.734 kB / 0.5979 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.6741, allocations: 1.522 MB / 0.5994 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.6741, allocations: 3.938 kB / 0.5994 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.6752, allocations: 151.6 kB / 0.5995 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.6753, allocations: 43.53 kB / 0.5996 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.6754, allocations: 26.34 kB / 0.5996 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.6773, allocations: 2.528 MB / 0.602 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6773, allocations: 2.219 kB / 0.602 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.6799, allocations: 1.077 MB / 0.6031 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.68, allocations: 25.67 kB / 0.6031 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.6801, allocations: 13 kB / 0.6031 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/0.6809, allocations: 43.5 kB / 0.6032 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.681, allocations: 47.41 kB / 0.6032 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/0.681, allocations: 35.19 kB / 0.6033 GB, free: 15.67 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.6811, allocations: 129.6 kB / 0.6034 GB, free: 15.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6811, allocations: 0 / 0.6034 GB, free: 15.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001326/0.6825, allocations: 396.8 kB / 0.6038 GB, free: 15.48 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.005211/0.6877, allocations: 2.383 MB / 0.6061 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.6896, allocations: 0.6388 MB / 0.6067 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6896, allocations: 0 / 0.6067 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.6907, allocations: 0.5209 MB / 0.6072 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.6915, allocations: 104.2 kB / 0.6073 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008333/0.6998, allocations: 4.249 MB / 0.6115 GB, free: 8.266 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.7002, allocations: 0.7852 MB / 0.6122 GB, free: 7.453 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008062/0.701, allocations: 184.3 kB / 0.6124 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.7014, allocations: 127.4 kB / 0.6125 GB, free: 7.148 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.7014, allocations: 0 / 0.6125 GB, free: 7.148 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07261/0.774, allocations: 20.43 MB / 0.6325 GB, free: 2.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.54, allocations: 9.938 kB / 0.6325 GB, free: 2.863 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.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_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.470641163003165]