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.001048/0.001048, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001832/0.001832, allocations: 156.5 kB / 24.55 MB, free: 20 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.9811/0.9811, allocations: 177 MB / 204.8 MB, free: 5.578 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.2686/0.2686, allocations: 34.87 MB / 296.3 MB, free: 0.543 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 2.114e-06/2.114e-06, allocations: 0 / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.641e-05, allocations: 2.875 kB / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2775/0.2776, allocations: 145.5 MB / 0.5119 GB, free: 17.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2788, allocations: 1.627 MB / 0.5135 GB, free: 16.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.2789, allocations: 0 / 0.5135 GB, free: 16.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.2792, allocations: 49.53 kB / 0.5136 GB, free: 16.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007975/0.28, allocations: 424.2 kB / 0.514 GB, free: 16.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.2804, allocations: 178.3 kB / 0.5141 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.2806, allocations: 187.4 kB / 0.5143 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.2806, allocations: 4.266 kB / 0.5143 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.2808, allocations: 104.6 kB / 0.5144 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2809, allocations: 47.12 kB / 0.5145 GB, free: 16.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2809, allocations: 12.69 kB / 0.5145 GB, free: 16.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007041/0.2816, allocations: 0.5521 MB / 0.515 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.2817, allocations: 31.33 kB / 0.515 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.2817, allocations: 41 kB / 0.5151 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.2822, allocations: 423.8 kB / 0.5155 GB, free: 15.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2822, allocations: 0 / 0.5155 GB, free: 15.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2822, allocations: 3.938 kB / 0.5155 GB, free: 15.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.2822, allocations: 0 / 0.5155 GB, free: 15.9 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.0004486/0.2827, allocations: 467.9 kB / 0.5159 GB, free: 15.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2827, allocations: 12.09 kB / 0.5159 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.2839, allocations: 218.8 kB / 0.5161 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.284, allocations: 156.4 kB / 0.5163 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.284, allocations: 3.469 kB / 0.5163 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.2841, allocations: 21.05 kB / 0.5163 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.2843, allocations: 257 kB / 0.5166 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2843, allocations: 0 / 0.5166 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.2844, allocations: 0 / 0.5166 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2844, allocations: 1.406 kB / 0.5166 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.2846, allocations: 166.2 kB / 0.5167 GB, free: 15.07 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.0009127/0.2855, allocations: 0.5362 MB / 0.5173 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.2857, allocations: 178.2 kB / 0.5174 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/0.2858, allocations: 83.58 kB / 0.5175 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.522e-05/0.2859, allocations: 11.61 kB / 0.5175 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.2859, allocations: 36.3 kB / 0.5175 GB, free: 14.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.2859, allocations: 4 kB / 0.5175 GB, free: 14.55 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.002544/0.2884, allocations: 1.208 MB / 0.5187 GB, free: 13.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.499e-05/0.2885, allocations: 51.41 kB / 0.5188 GB, free: 13.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/0.2885, allocations: 175.4 kB / 0.5189 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2885, allocations: 32.05 kB / 0.519 GB, free: 13.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.2885, allocations: 142.1 kB / 0.5191 GB, free: 13.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.2886, allocations: 74.44 kB / 0.5192 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.2886, allocations: 54.69 kB / 0.5192 GB, free: 13.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.458e-05/0.2887, allocations: 0.493 MB / 0.5197 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.2887, allocations: 64 kB / 0.5198 GB, free: 12.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.2888, allocations: 111.5 kB / 0.5199 GB, free: 12.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.289, allocations: 190.2 kB / 0.5201 GB, free: 12.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.289, allocations: 3 kB / 0.5201 GB, free: 12.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002791/0.2893, allocations: 253.3 kB / 0.5203 GB, free: 12.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2893, allocations: 5.656 kB / 0.5203 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2893, allocations: 0 / 0.5203 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.162e-05/0.2894, allocations: 31.44 kB / 0.5203 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.2896, allocations: 51.39 kB / 0.5204 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001756/0.2898, allocations: 0.8023 MB / 0.5212 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.2899, allocations: 7 kB / 0.5212 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.2899, allocations: 12.52 kB / 0.5212 GB, free: 11.86 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 6.375e-05/0.29, allocations: 174.6 kB / 0.5214 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.2901, allocations: 24.03 kB / 0.5214 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.2904, allocations: 269.5 kB / 0.5216 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2904, allocations: 0 / 0.5216 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2904, allocations: 2.375 kB / 0.5216 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2904, allocations: 1.594 kB / 0.5216 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.2909, allocations: 0.5906 MB / 0.5222 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2909, allocations: 7.375 kB / 0.5222 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2911, allocations: 53.08 kB / 0.5223 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.964e-05/0.2911, allocations: 23.94 kB / 0.5223 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.2912, allocations: 12.69 kB / 0.5223 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003793/0.2915, allocations: 1.724 MB / 0.524 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2915, allocations: 2.781 kB / 0.524 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.2919, allocations: 490.4 kB / 0.5245 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.2919, allocations: 11.25 kB / 0.5245 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.2919, allocations: 6.844 kB / 0.5245 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.2921, allocations: 12.53 kB / 0.5245 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.2921, allocations: 18.89 kB / 0.5245 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2921, allocations: 12.52 kB / 0.5245 GB, free: 9.004 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.044e-05/0.2922, allocations: 127.3 kB / 0.5247 GB, free: 8.887 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2922, allocations: 3.156 kB / 0.5247 GB, free: 8.887 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000306/0.2925, allocations: 133.1 kB / 0.5248 GB, free: 8.859 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.0003876/0.2928, allocations: 264.4 kB / 0.525 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.2931, allocations: 195.5 kB / 0.5252 GB, free: 8.676 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2931, allocations: 6.594 kB / 0.5252 GB, free: 8.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2933, allocations: 283.8 kB / 0.5255 GB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.2936, allocations: 58.16 kB / 0.5256 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007228/0.2943, allocations: 399 kB / 0.5259 GB, free: 8.152 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.028e-05/0.2943, allocations: 70.83 kB / 0.526 GB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.2945, allocations: 55.25 kB / 0.5261 GB, free: 8.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.2946, allocations: 28.55 kB / 0.5261 GB, free: 8.035 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2946, allocations: 4 kB / 0.5261 GB, free: 8.031 MB / 410.7 MB Notification: Performance of Templates: time 0.006256/0.3008, allocations: 6.411 MB / 0.5323 GB, free: 7.254 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.585970471613109]