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.0017/0.0017, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.001881, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.88 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3347, allocations: 62.45 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1884/0.5231, allocations: 152.5 MB / 0.6795 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.5254, allocations: 1.6 MB / 0.6811 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.5255, allocations: 4 kB / 0.6811 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.526, allocations: 43.73 kB / 0.6811 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.5271, allocations: 402.1 kB / 0.6815 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.5276, allocations: 178.8 kB / 0.6817 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.528, allocations: 183.2 kB / 0.6818 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.528, allocations: 8 kB / 0.6818 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.5282, allocations: 75.69 kB / 0.6819 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.5284, allocations: 63.75 kB / 0.682 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.5284, allocations: 4 kB / 0.682 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.5296, allocations: 0.6003 MB / 0.6826 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.5297, allocations: 31.84 kB / 0.6826 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/0.5297, allocations: 51.78 kB / 0.6826 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.5305, allocations: 410.6 kB / 0.683 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5305, allocations: 3.938 kB / 0.683 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5305, allocations: 0 / 0.683 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5305, allocations: 0 / 0.683 GB, free: 4.961 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.000564/0.5311, allocations: 434.9 kB / 0.6834 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.5311, allocations: 8.031 kB / 0.6835 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.5312, allocations: 46.73 kB / 0.6835 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.5334, allocations: 196.6 kB / 0.6837 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.5336, allocations: 211.5 kB / 0.6839 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5337, allocations: 8 kB / 0.6839 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.5337, allocations: 12 kB / 0.6839 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.5342, allocations: 197.5 kB / 0.6841 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.5342, allocations: 4 kB / 0.6841 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.5343, allocations: 11.94 kB / 0.6841 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.5343, allocations: 0 / 0.6841 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/0.5349, allocations: 239.8 kB / 0.6843 GB, free: 3.52 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.001735/0.5366, allocations: 0.6668 MB / 0.685 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.5371, allocations: 182.4 kB / 0.6852 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.5373, allocations: 92.81 kB / 0.6853 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.5375, allocations: 93.09 kB / 0.6853 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.5375, allocations: 30.56 kB / 0.6854 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.5376, allocations: 4 kB / 0.6854 GB, free: 2.363 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.005789/0.5434, allocations: 1.537 MB / 0.6869 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.5434, allocations: 59.33 kB / 0.6869 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/0.5435, allocations: 113.8 kB / 0.687 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.5436, allocations: 25.7 kB / 0.6871 GB, free: 500 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.5436, allocations: 100.4 kB / 0.6872 GB, free: 396 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.5437, allocations: 67.42 kB / 0.6872 GB, free: 328 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.5439, allocations: 45.7 kB / 0.6873 GB, free: 276 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.544, allocations: 322.8 kB / 0.6876 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.5442, allocations: 87.95 kB / 0.6877 GB, free: 15.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.5445, allocations: 123.4 kB / 0.6878 GB, free: 15.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.545, allocations: 230.8 kB / 0.688 GB, free: 15.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.545, allocations: 0 / 0.688 GB, free: 15.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006444/0.5457, allocations: 278.3 kB / 0.6883 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5457, allocations: 11.98 kB / 0.6883 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5457, allocations: 4.094 kB / 0.6883 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.5459, allocations: 32.78 kB / 0.6883 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.5463, allocations: 51.91 kB / 0.6884 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003942/0.5467, allocations: 0.5406 MB / 0.6889 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.547, allocations: 12.08 kB / 0.6889 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.5471, allocations: 8 kB / 0.6889 GB, free: 14.52 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.0001349/0.5472, allocations: 121.8 kB / 0.689 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.5473, allocations: 7.953 kB / 0.689 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/0.5481, allocations: 331.2 kB / 0.6893 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5481, allocations: 0 / 0.6893 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5481, allocations: 4 kB / 0.6894 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5481, allocations: 0 / 0.6894 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.5493, allocations: 0.6834 MB / 0.69 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5493, allocations: 0 / 0.69 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.5498, allocations: 55.89 kB / 0.6901 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-05/0.5499, allocations: 20.84 kB / 0.6901 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.5499, allocations: 8 kB / 0.6901 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.551, allocations: 1.365 MB / 0.6914 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.551, allocations: 4.156 kB / 0.6914 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.5519, allocations: 461.3 kB / 0.6919 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.552, allocations: 89.08 kB / 0.692 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.552, allocations: 4 kB / 0.692 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.5524, allocations: 15.98 kB / 0.692 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.5524, allocations: 15.97 kB / 0.692 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.5524, allocations: 4 kB / 0.692 GB, free: 11.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.5525, allocations: 91.27 kB / 0.6921 GB, free: 10.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5525, allocations: 0 / 0.6921 GB, free: 10.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000529/0.553, allocations: 135.7 kB / 0.6922 GB, free: 10.85 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.001789/0.5548, allocations: 1.141 MB / 0.6933 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.5555, allocations: 240.8 kB / 0.6936 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5555, allocations: 0 / 0.6936 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.5559, allocations: 228.8 kB / 0.6938 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.5564, allocations: 44.28 kB / 0.6938 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.5596, allocations: 2.129 MB / 0.6959 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.56, allocations: 0.7085 MB / 0.6966 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003077/0.5603, allocations: 57.75 kB / 0.6966 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.5604, allocations: 47.41 kB / 0.6967 GB, free: 6.078 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.5604, allocations: 0 / 0.6967 GB, free: 6.078 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.5963, allocations: 7.971 MB / 0.7045 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.92, allocations: 4 kB / 0.7045 GB, free: 14.22 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