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.001343/0.001343, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.005363/0.005363, allocations: 163.5 kB / 24.99 MB, free: 8.801 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.034/1.034, allocations: 177 MB / 205.2 MB, free: 5.586 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.2549/0.2549, allocations: 34.87 MB / 296.6 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.914e-06/1.914e-06, allocations: 0 / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.106e-05/4.297e-05, allocations: 8.641 kB / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3097/0.3097, allocations: 145.2 MB / 0.5116 GB, free: 17.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3111, allocations: 1.622 MB / 0.5132 GB, free: 16.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.3112, allocations: 3.031 kB / 0.5132 GB, free: 16.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.3116, allocations: 45.83 kB / 0.5133 GB, free: 16.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009893/0.3126, allocations: 425.9 kB / 0.5137 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.313, allocations: 176.6 kB / 0.5138 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.3133, allocations: 184.2 kB / 0.514 GB, free: 16.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.3133, allocations: 7.797 kB / 0.514 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.3135, allocations: 105.7 kB / 0.5141 GB, free: 16.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3136, allocations: 51.12 kB / 0.5142 GB, free: 16.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3136, allocations: 10.33 kB / 0.5142 GB, free: 16.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008795/0.3145, allocations: 0.5466 MB / 0.5147 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.3146, allocations: 38.83 kB / 0.5148 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.3146, allocations: 35.36 kB / 0.5148 GB, free: 16.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.3153, allocations: 429 kB / 0.5152 GB, free: 15.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3153, allocations: 0 / 0.5152 GB, free: 15.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3153, allocations: 0 / 0.5152 GB, free: 15.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3153, allocations: 4 kB / 0.5152 GB, free: 15.87 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.0004956/0.3158, allocations: 467.3 kB / 0.5156 GB, free: 15.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3158, allocations: 8.938 kB / 0.5157 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.3171, allocations: 218.1 kB / 0.5159 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3173, allocations: 156.7 kB / 0.516 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3173, allocations: 7.938 kB / 0.516 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.3173, allocations: 14 kB / 0.516 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.3177, allocations: 253.7 kB / 0.5163 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3177, allocations: 4 kB / 0.5163 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.3177, allocations: 6.812 kB / 0.5163 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3177, allocations: 3.062 kB / 0.5163 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.318, allocations: 164.3 kB / 0.5164 GB, free: 15.04 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.001056/0.319, allocations: 0.5335 MB / 0.517 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.3192, allocations: 175.4 kB / 0.5171 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.3193, allocations: 85.88 kB / 0.5172 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.771e-05/0.3194, allocations: 12.95 kB / 0.5172 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.3195, allocations: 40.17 kB / 0.5173 GB, free: 14.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/0.3195, allocations: 0 / 0.5173 GB, free: 14.52 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.002841/0.3223, allocations: 1.203 MB / 0.5184 GB, free: 13.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.3223, allocations: 58.31 kB / 0.5185 GB, free: 13.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.3224, allocations: 179.8 kB / 0.5187 GB, free: 13.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3224, allocations: 36.89 kB / 0.5187 GB, free: 13.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.3224, allocations: 142.2 kB / 0.5188 GB, free: 13.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3225, allocations: 67.31 kB / 0.5189 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.3225, allocations: 54.31 kB / 0.519 GB, free: 13.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.3226, allocations: 0.4892 MB / 0.5194 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.3227, allocations: 64.78 kB / 0.5195 GB, free: 12.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3228, allocations: 112.3 kB / 0.5196 GB, free: 12.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.323, allocations: 191.3 kB / 0.5198 GB, free: 12.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.323, allocations: 0 / 0.5198 GB, free: 12.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000325/0.3233, allocations: 250.7 kB / 0.52 GB, free: 12.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3233, allocations: 5.969 kB / 0.52 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3233, allocations: 3 kB / 0.52 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.3235, allocations: 29.38 kB / 0.5201 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3237, allocations: 49.06 kB / 0.5201 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002088/0.3239, allocations: 0.8094 MB / 0.5209 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.324, allocations: 5.75 kB / 0.5209 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.324, allocations: 12.25 kB / 0.5209 GB, free: 11.82 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.685e-05/0.3241, allocations: 163.4 kB / 0.5211 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.3242, allocations: 27.5 kB / 0.5211 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.3246, allocations: 273.4 kB / 0.5214 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3246, allocations: 2.906 kB / 0.5214 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3246, allocations: 2.656 kB / 0.5214 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3246, allocations: 0 / 0.5214 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.3251, allocations: 0.5907 MB / 0.5219 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3251, allocations: 7.094 kB / 0.5219 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3253, allocations: 48.31 kB / 0.522 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.928e-05/0.3254, allocations: 20.62 kB / 0.522 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.3254, allocations: 16.8 kB / 0.522 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004855/0.3259, allocations: 1.729 MB / 0.5237 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3259, allocations: 3.938 kB / 0.5237 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.3263, allocations: 483.1 kB / 0.5242 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.3264, allocations: 17.78 kB / 0.5242 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3264, allocations: 5.094 kB / 0.5242 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3265, allocations: 10.06 kB / 0.5242 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.3266, allocations: 15.73 kB / 0.5242 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3266, allocations: 14.78 kB / 0.5242 GB, free: 8.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.425e-05/0.3266, allocations: 132.5 kB / 0.5244 GB, free: 8.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3266, allocations: 0 / 0.5244 GB, free: 8.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004251/0.327, allocations: 132.8 kB / 0.5245 GB, free: 8.828 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.0004657/0.3275, allocations: 259.2 kB / 0.5247 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.3278, allocations: 207.2 kB / 0.5249 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3278, allocations: 0 / 0.5249 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.328, allocations: 286.5 kB / 0.5252 GB, free: 8.441 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.3283, allocations: 55.06 kB / 0.5253 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000822/0.3292, allocations: 404.2 kB / 0.5256 GB, free: 8.125 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.3292, allocations: 69.86 kB / 0.5257 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.3294, allocations: 53.17 kB / 0.5258 GB, free: 8.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.769e-05/0.3294, allocations: 24.88 kB / 0.5258 GB, free: 8.012 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3295, allocations: 0 / 0.5258 GB, free: 8.012 MB / 410.7 MB Notification: Performance of Templates: time 0.008208/0.3377, allocations: 6.422 MB / 0.5321 GB, free: 7.355 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.6297423630021513]