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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3899, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.192/0.5819, allocations: 152.5 MB / 0.6799 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.584, allocations: 1.589 MB / 0.6814 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.5841, allocations: 3.938 kB / 0.6814 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.5844, allocations: 51.73 kB / 0.6815 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.5856, allocations: 410.1 kB / 0.6819 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.5862, allocations: 171.4 kB / 0.682 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.5865, allocations: 179.3 kB / 0.6822 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.5865, allocations: 15.92 kB / 0.6822 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.5867, allocations: 75.7 kB / 0.6823 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.5869, allocations: 59.75 kB / 0.6823 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.5869, allocations: 12 kB / 0.6823 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.5883, allocations: 0.5964 MB / 0.6829 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.5884, allocations: 31.89 kB / 0.683 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.5885, allocations: 51.73 kB / 0.683 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007336/0.5892, allocations: 407.5 kB / 0.6834 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5892, allocations: 3.938 kB / 0.6834 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.534e-06/0.5892, allocations: 0 / 0.6834 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.5892, allocations: 0 / 0.6834 GB, free: 5.086 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.0006871/0.5899, allocations: 438.9 kB / 0.6838 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.59, allocations: 8.031 kB / 0.6838 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.5923, allocations: 196.6 kB / 0.684 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.5925, allocations: 211.9 kB / 0.6842 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.5926, allocations: 4 kB / 0.6842 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.5926, allocations: 8 kB / 0.6842 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.5931, allocations: 208.8 kB / 0.6844 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5932, allocations: 0 / 0.6844 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.5932, allocations: 7.938 kB / 0.6844 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.5932, allocations: 7.938 kB / 0.6844 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.5938, allocations: 231.8 kB / 0.6847 GB, free: 3.703 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.001843/0.5957, allocations: 0.663 MB / 0.6853 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.5961, allocations: 198.4 kB / 0.6855 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.5964, allocations: 93.69 kB / 0.6856 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.5965, allocations: 89.09 kB / 0.6857 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.5966, allocations: 38.56 kB / 0.6857 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 2.073e-06/0.5966, allocations: 0 / 0.6857 GB, free: 2.535 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.005909/0.6025, allocations: 1.542 MB / 0.6872 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.6026, allocations: 55.41 kB / 0.6873 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.6027, allocations: 105.8 kB / 0.6874 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.6027, allocations: 33.7 kB / 0.6874 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.6028, allocations: 92.41 kB / 0.6875 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.6029, allocations: 71.38 kB / 0.6876 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.603, allocations: 49.69 kB / 0.6876 GB, free: 452 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6032, allocations: 318.8 kB / 0.6879 GB, free: 124 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.6034, allocations: 91.94 kB / 0.688 GB, free: 32 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.6037, allocations: 119.3 kB / 0.6881 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.6042, allocations: 238.6 kB / 0.6883 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6042, allocations: 0 / 0.6883 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006543/0.6049, allocations: 278.4 kB / 0.6886 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6049, allocations: 8 kB / 0.6886 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6049, allocations: 0 / 0.6886 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.6051, allocations: 24.84 kB / 0.6886 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.6056, allocations: 59.89 kB / 0.6887 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004376/0.606, allocations: 0.5328 MB / 0.6892 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.6063, allocations: 16.06 kB / 0.6892 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.6064, allocations: 15.94 kB / 0.6892 GB, free: 14.7 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.0001504/0.6065, allocations: 125.8 kB / 0.6894 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.6066, allocations: 11.95 kB / 0.6894 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/0.6074, allocations: 326.2 kB / 0.6897 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.6074, allocations: 4 kB / 0.6897 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6074, allocations: 0 / 0.6897 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.6074, allocations: 0 / 0.6897 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.6087, allocations: 0.6796 MB / 0.6904 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6087, allocations: 0 / 0.6904 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.6092, allocations: 47.95 kB / 0.6904 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.133e-05/0.6093, allocations: 20.84 kB / 0.6904 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.6093, allocations: 7.984 kB / 0.6904 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.6105, allocations: 1.376 MB / 0.6918 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6105, allocations: 4.031 kB / 0.6918 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.6114, allocations: 446.7 kB / 0.6922 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.6115, allocations: 89.09 kB / 0.6923 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.6116, allocations: 8 kB / 0.6923 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.6119, allocations: 11.98 kB / 0.6923 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.612, allocations: 19.83 kB / 0.6923 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.612, allocations: 15.98 kB / 0.6923 GB, free: 11.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.6121, allocations: 83.27 kB / 0.6924 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6121, allocations: 4.062 kB / 0.6924 GB, free: 11.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005568/0.6126, allocations: 135.7 kB / 0.6926 GB, free: 11.02 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.0007405/0.6134, allocations: 262.7 kB / 0.6928 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006575/0.6141, allocations: 231.7 kB / 0.693 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6141, allocations: 4 kB / 0.693 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.6145, allocations: 237.3 kB / 0.6933 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.615, allocations: 50.22 kB / 0.6933 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009834/0.616, allocations: 474.7 kB / 0.6938 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.6163, allocations: 0.7046 MB / 0.6944 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003124/0.6166, allocations: 53.61 kB / 0.6945 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.6168, allocations: 23.42 kB / 0.6945 GB, free: 8.938 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6168, allocations: 0 / 0.6945 GB, free: 8.938 MB / 0.545 GB Notification: Performance of Templates: time 0.0113/0.6281, allocations: 6.226 MB / 0.7006 GB, free: 2.73 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches