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.001115/0.001115, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001263/0.001263, allocations: 166.9 kB / 25.61 MB, free: 8.898 MB / 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 1.026/1.026, allocations: 177 MB / 205.9 MB, free: 4.449 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.1579/0.1579, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.853e-06/1.853e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.841e-05, allocations: 2.312 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3774/0.3774, allocations: 142.7 MB / 0.5105 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.379, allocations: 1.605 MB / 0.512 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.3791, allocations: 0.625 kB / 0.512 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.3794, allocations: 49.89 kB / 0.5121 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008985/0.3803, allocations: 427.7 kB / 0.5125 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.3807, allocations: 176.2 kB / 0.5127 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.3809, allocations: 185.1 kB / 0.5128 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.3809, allocations: 2.875 kB / 0.5128 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.3811, allocations: 109.5 kB / 0.513 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3812, allocations: 48.92 kB / 0.513 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.3812, allocations: 5.531 kB / 0.513 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000678/0.3819, allocations: 0.5582 MB / 0.5135 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.382, allocations: 37.5 kB / 0.5136 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.382, allocations: 33.95 kB / 0.5136 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.3825, allocations: 428.1 kB / 0.514 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3825, allocations: 0 / 0.514 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3825, allocations: 2.375 kB / 0.514 GB, free: 13.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3825, allocations: 0 / 0.514 GB, free: 13.57 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.0004077/0.3829, allocations: 466.1 kB / 0.5145 GB, free: 13.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3829, allocations: 8.594 kB / 0.5145 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.384, allocations: 217 kB / 0.5147 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.3842, allocations: 161.2 kB / 0.5148 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3842, allocations: 6.156 kB / 0.5148 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.3843, allocations: 12.69 kB / 0.5149 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.3845, allocations: 234 kB / 0.5151 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3845, allocations: 0 / 0.5151 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.3845, allocations: 3.25 kB / 0.5151 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3845, allocations: 3.922 kB / 0.5151 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3847, allocations: 134.3 kB / 0.5152 GB, free: 12.85 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.0008301/0.3855, allocations: 0.5231 MB / 0.5157 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3857, allocations: 151.1 kB / 0.5159 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.3857, allocations: 70.86 kB / 0.5159 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.308e-05/0.3858, allocations: 13.58 kB / 0.516 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.3858, allocations: 36.7 kB / 0.516 GB, free: 12.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.3858, allocations: 0 / 0.516 GB, free: 12.45 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.002367/0.3882, allocations: 1.05 MB / 0.517 GB, free: 12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.3882, allocations: 54.12 kB / 0.5171 GB, free: 11.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.812e-05/0.3883, allocations: 179.4 kB / 0.5172 GB, free: 11.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3883, allocations: 28.83 kB / 0.5173 GB, free: 11.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.3883, allocations: 143.6 kB / 0.5174 GB, free: 11.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.3884, allocations: 74.61 kB / 0.5175 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.3885, allocations: 48.8 kB / 0.5175 GB, free: 11.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.3885, allocations: 0.4907 MB / 0.518 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.3886, allocations: 51.22 kB / 0.518 GB, free: 11.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.3887, allocations: 104.6 kB / 0.5181 GB, free: 10.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3888, allocations: 162.1 kB / 0.5183 GB, free: 10.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3888, allocations: 0 / 0.5183 GB, free: 10.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002746/0.3891, allocations: 210.1 kB / 0.5185 GB, free: 10.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3891, allocations: 8.25 kB / 0.5185 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3891, allocations: 4.094 kB / 0.5185 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.075e-05/0.3892, allocations: 30.61 kB / 0.5185 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.3894, allocations: 59.03 kB / 0.5186 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002102/0.3896, allocations: 0.7928 MB / 0.5194 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.3898, allocations: 8.734 kB / 0.5194 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3898, allocations: 10.98 kB / 0.5194 GB, free: 10.04 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 8.175e-05/0.3899, allocations: 166.9 kB / 0.5196 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.3899, allocations: 26.56 kB / 0.5196 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.3903, allocations: 243 kB / 0.5198 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3903, allocations: 0 / 0.5198 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3903, allocations: 2.406 kB / 0.5198 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3903, allocations: 10.61 kB / 0.5198 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.3908, allocations: 0.5528 MB / 0.5204 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3908, allocations: 2.031 kB / 0.5204 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.391, allocations: 48.28 kB / 0.5204 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.236e-05/0.3911, allocations: 27.81 kB / 0.5204 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3911, allocations: 4.844 kB / 0.5204 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004694/0.3916, allocations: 1.716 MB / 0.5221 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3916, allocations: 3.312 kB / 0.5221 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.392, allocations: 451 kB / 0.5225 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.392, allocations: 12.58 kB / 0.5226 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.392, allocations: 6.766 kB / 0.5226 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3922, allocations: 9 kB / 0.5226 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.3922, allocations: 17.69 kB / 0.5226 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3922, allocations: 12.8 kB / 0.5226 GB, free: 7.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.394e-05/0.3922, allocations: 128.6 kB / 0.5227 GB, free: 7.328 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3922, allocations: 0 / 0.5227 GB, free: 7.328 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.3926, allocations: 137.4 kB / 0.5229 GB, free: 7.309 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.0004311/0.393, allocations: 265.1 kB / 0.5231 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3933, allocations: 172.3 kB / 0.5233 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3933, allocations: 0 / 0.5233 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.3934, allocations: 268.7 kB / 0.5235 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3937, allocations: 55.3 kB / 0.5236 GB, free: 6.969 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.3944, allocations: 401.9 kB / 0.524 GB, free: 6.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.3944, allocations: 72.72 kB / 0.524 GB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.3946, allocations: 45.7 kB / 0.5241 GB, free: 6.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.3948, allocations: 125.2 kB / 0.5242 GB, free: 6.516 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3948, allocations: 0 / 0.5242 GB, free: 6.516 MB / 410.7 MB Notification: Performance of Templates: time 0.008549/0.4033, allocations: 7.263 MB / 0.5313 GB, free: 4.266 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: 4.004183031152934]