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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001466/0.001466, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9852/0.9852, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3116/0.3116, allocations: 34.86 MB / 296.3 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.697e-05, allocations: 3.156 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3174/0.3174, allocations: 145.5 MB / 0.5119 GB, free: 17.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3188, allocations: 1.629 MB / 0.5135 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.3189, allocations: 1.562 kB / 0.5135 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.3193, allocations: 44.8 kB / 0.5136 GB, free: 16.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008929/0.3202, allocations: 422.6 kB / 0.514 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.3206, allocations: 177.5 kB / 0.5141 GB, free: 16.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.3208, allocations: 184 kB / 0.5143 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.3208, allocations: 14.44 kB / 0.5143 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.321, allocations: 102.7 kB / 0.5144 GB, free: 16.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3211, allocations: 57.67 kB / 0.5145 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.3211, allocations: 5.75 kB / 0.5145 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008637/0.322, allocations: 0.551 MB / 0.515 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.322, allocations: 32.44 kB / 0.515 GB, free: 15.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.3221, allocations: 36.69 kB / 0.5151 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.3227, allocations: 432.3 kB / 0.5155 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3227, allocations: 0 / 0.5155 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3227, allocations: 0 / 0.5155 GB, free: 15.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3227, allocations: 4 kB / 0.5155 GB, free: 15.69 MB / 410.7 MB 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.0004252/0.3231, allocations: 467.8 kB / 0.5159 GB, free: 15.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3231, allocations: 8.5 kB / 0.516 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.3243, allocations: 218 kB / 0.5162 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.3244, allocations: 152.4 kB / 0.5163 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3244, allocations: 10.34 kB / 0.5163 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.3245, allocations: 13.53 kB / 0.5163 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.3247, allocations: 253.6 kB / 0.5166 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3248, allocations: 7.938 kB / 0.5166 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.3248, allocations: 5.969 kB / 0.5166 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3248, allocations: 2.625 kB / 0.5166 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.325, allocations: 159.6 kB / 0.5167 GB, free: 14.87 MB / 410.7 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.00103/0.326, allocations: 0.5343 MB / 0.5173 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.3263, allocations: 179.2 kB / 0.5174 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.3264, allocations: 78.34 kB / 0.5175 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.3265, allocations: 20.58 kB / 0.5175 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.3265, allocations: 39.58 kB / 0.5176 GB, free: 14.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.3265, allocations: 0 / 0.5176 GB, free: 14.35 MB / 410.7 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.002675/0.3292, allocations: 1.204 MB / 0.5187 GB, free: 13.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.3292, allocations: 58.25 kB / 0.5188 GB, free: 13.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.3293, allocations: 179.6 kB / 0.519 GB, free: 13.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3293, allocations: 32.27 kB / 0.519 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.3293, allocations: 144.3 kB / 0.5191 GB, free: 13.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3294, allocations: 66.94 kB / 0.5192 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.3294, allocations: 53.92 kB / 0.5192 GB, free: 13.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.3295, allocations: 0.497 MB / 0.5197 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.3296, allocations: 66.66 kB / 0.5198 GB, free: 12.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3297, allocations: 107.5 kB / 0.5199 GB, free: 12.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3299, allocations: 193.8 kB / 0.5201 GB, free: 12.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3299, allocations: 0 / 0.5201 GB, free: 12.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002969/0.3302, allocations: 249.2 kB / 0.5203 GB, free: 12.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3302, allocations: 5.531 kB / 0.5203 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3302, allocations: 2.844 kB / 0.5203 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.3303, allocations: 28.05 kB / 0.5204 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.3305, allocations: 54.27 kB / 0.5204 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002161/0.3308, allocations: 0.7994 MB / 0.5212 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3309, allocations: 9.969 kB / 0.5212 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.3309, allocations: 7.844 kB / 0.5212 GB, free: 11.65 MB / 410.7 MB 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 7.356e-05/0.331, allocations: 171.3 kB / 0.5214 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.331, allocations: 25.44 kB / 0.5214 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.3314, allocations: 271.4 kB / 0.5217 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3314, allocations: 5.562 kB / 0.5217 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3314, allocations: 0 / 0.5217 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3314, allocations: 0 / 0.5217 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.332, allocations: 0.5914 MB / 0.5222 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.332, allocations: 4.094 kB / 0.5222 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.3322, allocations: 55.88 kB / 0.5223 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-05/0.3323, allocations: 25.72 kB / 0.5223 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3323, allocations: 6.719 kB / 0.5223 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000524/0.3328, allocations: 1.734 MB / 0.524 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3328, allocations: 3.156 kB / 0.524 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.3332, allocations: 478.5 kB / 0.5245 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.3333, allocations: 13.41 kB / 0.5245 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3333, allocations: 9.281 kB / 0.5245 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3334, allocations: 3 kB / 0.5245 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3335, allocations: 25.42 kB / 0.5245 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.3335, allocations: 12.83 kB / 0.5245 GB, free: 8.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.727e-05/0.3335, allocations: 131 kB / 0.5247 GB, free: 8.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3335, allocations: 4 kB / 0.5247 GB, free: 8.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003676/0.3339, allocations: 132.8 kB / 0.5248 GB, free: 8.652 MB / 410.7 MB 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.0004214/0.3343, allocations: 258.4 kB / 0.525 GB, free: 8.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.3346, allocations: 201.9 kB / 0.5252 GB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3346, allocations: 0 / 0.5252 GB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.3348, allocations: 288.5 kB / 0.5255 GB, free: 8.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.3351, allocations: 57.11 kB / 0.5256 GB, free: 8.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/0.3359, allocations: 400.9 kB / 0.5259 GB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.3359, allocations: 71.78 kB / 0.526 GB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.3361, allocations: 52.45 kB / 0.5261 GB, free: 7.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.3362, allocations: 21.88 kB / 0.5261 GB, free: 7.836 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3362, allocations: 2.656 kB / 0.5261 GB, free: 7.836 MB / 410.7 MB Notification: Performance of Templates: time 0.007784/0.3439, allocations: 7.103 MB / 0.533 GB, free: 6.691 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5745705543085933]