Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 117.7 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001894/0.001894, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 80.16 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3511, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1651/0.5163, allocations: 152.5 MB / 0.6794 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.5181, allocations: 1.596 MB / 0.6809 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.5182, allocations: 3.938 kB / 0.6809 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.5185, allocations: 55.72 kB / 0.681 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008909/0.5195, allocations: 402.1 kB / 0.6814 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.5199, allocations: 178.5 kB / 0.6815 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.5202, allocations: 187.2 kB / 0.6817 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.5202, allocations: 10.25 kB / 0.6817 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.5204, allocations: 79.69 kB / 0.6818 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.5205, allocations: 59.77 kB / 0.6819 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.5205, allocations: 8 kB / 0.6819 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.5215, allocations: 0.5924 MB / 0.6824 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.5216, allocations: 27.91 kB / 0.6825 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.5217, allocations: 59.72 kB / 0.6825 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.5223, allocations: 395.1 kB / 0.6829 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.5223, allocations: 0 / 0.6829 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5223, allocations: 3.938 kB / 0.6829 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5223, allocations: 0 / 0.6829 GB, free: 5.156 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005781/0.5229, allocations: 439.3 kB / 0.6833 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.523, allocations: 8.031 kB / 0.6833 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.523, allocations: 46.73 kB / 0.6834 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.5252, allocations: 196.6 kB / 0.6836 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.5255, allocations: 207.7 kB / 0.6838 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5255, allocations: 11.94 kB / 0.6838 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.5255, allocations: 11.98 kB / 0.6838 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.526, allocations: 201.5 kB / 0.684 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.526, allocations: 0 / 0.684 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.5261, allocations: 3.938 kB / 0.684 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.5261, allocations: 4 kB / 0.684 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.5266, allocations: 231.8 kB / 0.6842 GB, free: 3.723 MB / 0.5294 GB 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.001678/0.5283, allocations: 0.6706 MB / 0.6849 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.5288, allocations: 190.5 kB / 0.6851 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.529, allocations: 88.81 kB / 0.6851 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.5291, allocations: 93.09 kB / 0.6852 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5292, allocations: 38.56 kB / 0.6853 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.5292, allocations: 0 / 0.6853 GB, free: 2.555 MB / 0.5294 GB 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005482/0.5347, allocations: 1.54 MB / 0.6868 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.5347, allocations: 55.41 kB / 0.6868 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.5348, allocations: 105.8 kB / 0.6869 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.5348, allocations: 33.7 kB / 0.687 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.5349, allocations: 108.2 kB / 0.6871 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.535, allocations: 59.11 kB / 0.6871 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.149e-05/0.5351, allocations: 49.59 kB / 0.6872 GB, free: 468 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.5352, allocations: 318.8 kB / 0.6875 GB, free: 140 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.5354, allocations: 91.94 kB / 0.6875 GB, free: 48 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.5356, allocations: 118.4 kB / 0.6877 GB, free: 15.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.5361, allocations: 234.8 kB / 0.6879 GB, free: 15.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5361, allocations: 0 / 0.6879 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005917/0.5367, allocations: 286.2 kB / 0.6882 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5367, allocations: 4 kB / 0.6882 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5367, allocations: 0 / 0.6882 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.5368, allocations: 24.83 kB / 0.6882 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.5373, allocations: 63.89 kB / 0.6882 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003305/0.5376, allocations: 0.5445 MB / 0.6888 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.5379, allocations: 4.031 kB / 0.6888 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.538, allocations: 12 kB / 0.6888 GB, free: 14.71 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.5381, allocations: 125.8 kB / 0.6889 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.5382, allocations: 7.906 kB / 0.6889 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007083/0.5389, allocations: 319.4 kB / 0.6892 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5389, allocations: 4 kB / 0.6892 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5389, allocations: 0 / 0.6892 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5389, allocations: 4 kB / 0.6892 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.54, allocations: 0.6834 MB / 0.6899 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.54, allocations: 0 / 0.6899 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.5404, allocations: 47.95 kB / 0.6899 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.398e-05/0.5405, allocations: 28.88 kB / 0.69 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.5405, allocations: 11.98 kB / 0.69 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008246/0.5414, allocations: 1.369 MB / 0.6913 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5414, allocations: 4.031 kB / 0.6913 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.5422, allocations: 453.4 kB / 0.6918 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.5423, allocations: 85.05 kB / 0.6918 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.5423, allocations: 7.938 kB / 0.6918 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.5426, allocations: 11.98 kB / 0.6919 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.5427, allocations: 15.98 kB / 0.6919 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.5427, allocations: 11.98 kB / 0.6919 GB, free: 11.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.628e-05/0.5428, allocations: 91.33 kB / 0.692 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5428, allocations: 4 kB / 0.692 GB, free: 11.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005489/0.5433, allocations: 127.9 kB / 0.6921 GB, free: 11.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001583/0.5449, allocations: 1.129 MB / 0.6932 GB, free: 9.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005939/0.5455, allocations: 239.6 kB / 0.6934 GB, free: 9.645 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5455, allocations: 0 / 0.6934 GB, free: 9.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.5459, allocations: 237 kB / 0.6937 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.5464, allocations: 43.95 kB / 0.6937 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.5492, allocations: 2.127 MB / 0.6958 GB, free: 7.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.5495, allocations: 0.7046 MB / 0.6965 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00029/0.5498, allocations: 61.7 kB / 0.6965 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.5499, allocations: 39.42 kB / 0.6966 GB, free: 6.289 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.5499, allocations: 0 / 0.6966 GB, free: 6.289 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.5783, allocations: 8.034 MB / 0.7044 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.37, allocations: 6.656 kB / 0.7044 GB, free: 14.37 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches