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.0008895/0.0008895, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.005594/0.005594, allocations: 158 kB / 24.7 MB, free: 9.418 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 0.8893/0.8893, allocations: 177 MB / 204.9 MB, free: 5.742 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.2627/0.2627, allocations: 34.24 MB / 295.6 MB, free: 0.6602 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.513e-06/1.513e-06, allocations: 0 / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.438e-05, allocations: 4.812 kB / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2768/0.2768, allocations: 131.5 MB / 0.5615 GB, free: 12.66 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.278, allocations: 1.44 MB / 0.5629 GB, free: 11.22 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.2781, allocations: 0 / 0.5629 GB, free: 11.22 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.2784, allocations: 51.73 kB / 0.5629 GB, free: 11.17 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007016/0.2791, allocations: 417.6 kB / 0.5633 GB, free: 10.76 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.2795, allocations: 179.3 kB / 0.5635 GB, free: 10.58 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.2797, allocations: 183.1 kB / 0.5637 GB, free: 10.4 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.2797, allocations: 4 kB / 0.5637 GB, free: 10.4 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.2799, allocations: 103.7 kB / 0.5638 GB, free: 10.3 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.28, allocations: 63.8 kB / 0.5638 GB, free: 10.23 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.28, allocations: 4 kB / 0.5638 GB, free: 10.23 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.2807, allocations: 0.5453 MB / 0.5644 GB, free: 9.684 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.2807, allocations: 35.89 kB / 0.5644 GB, free: 9.648 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.2808, allocations: 35.92 kB / 0.5644 GB, free: 9.613 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.2812, allocations: 446.9 kB / 0.5649 GB, free: 9.176 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2812, allocations: 0 / 0.5649 GB, free: 9.176 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2812, allocations: 0 / 0.5649 GB, free: 9.176 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.2813, allocations: 0 / 0.5649 GB, free: 9.176 MB / 474.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.0004859/0.2817, allocations: 366.4 kB / 0.5652 GB, free: 8.793 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2818, allocations: 8.031 kB / 0.5652 GB, free: 8.785 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.2829, allocations: 207.9 kB / 0.5654 GB, free: 8.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.2831, allocations: 153.6 kB / 0.5656 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2831, allocations: 8.312 kB / 0.5656 GB, free: 8.402 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.2832, allocations: 11.95 kB / 0.5656 GB, free: 8.391 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.2835, allocations: 286.6 kB / 0.5659 GB, free: 8.086 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2836, allocations: 0.8438 kB / 0.5659 GB, free: 8.086 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.2836, allocations: 4 kB / 0.5659 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2836, allocations: 4 kB / 0.5659 GB, free: 8.078 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.2839, allocations: 231.8 kB / 0.5661 GB, free: 7.852 MB / 474.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.001031/0.285, allocations: 0.5399 MB / 0.5666 GB, free: 7.316 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.2852, allocations: 186.5 kB / 0.5668 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.2854, allocations: 95.06 kB / 0.5669 GB, free: 7.031 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.2855, allocations: 15.98 kB / 0.5669 GB, free: 7.016 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2855, allocations: 34.56 kB / 0.5669 GB, free: 6.973 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.2855, allocations: 0 / 0.5669 GB, free: 6.973 MB / 474.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.003389/0.2889, allocations: 1.386 MB / 0.5683 GB, free: 5.527 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.2889, allocations: 55.34 kB / 0.5683 GB, free: 5.461 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.289, allocations: 121.7 kB / 0.5685 GB, free: 5.332 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.289, allocations: 29.7 kB / 0.5685 GB, free: 5.297 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.2891, allocations: 100.4 kB / 0.5686 GB, free: 5.195 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.2891, allocations: 75.36 kB / 0.5687 GB, free: 5.121 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.2892, allocations: 41.7 kB / 0.5687 GB, free: 5.074 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.2893, allocations: 322.8 kB / 0.569 GB, free: 4.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.2894, allocations: 87.95 kB / 0.5691 GB, free: 4.664 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.2895, allocations: 123.4 kB / 0.5692 GB, free: 4.531 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.2898, allocations: 223.3 kB / 0.5694 GB, free: 4.301 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2898, allocations: 0 / 0.5694 GB, free: 4.301 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000383/0.2902, allocations: 283.6 kB / 0.5697 GB, free: 4.016 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2902, allocations: 7.938 kB / 0.5697 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2902, allocations: 4 kB / 0.5697 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.2904, allocations: 32.88 kB / 0.5697 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.2906, allocations: 59.25 kB / 0.5698 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002751/0.2909, allocations: 0.5329 MB / 0.5703 GB, free: 3.355 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.291, allocations: 15.92 kB / 0.5703 GB, free: 3.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.291, allocations: 8 kB / 0.5703 GB, free: 3.332 MB / 474.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 9.936e-05/0.2911, allocations: 125.8 kB / 0.5704 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.2912, allocations: 11.94 kB / 0.5705 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.2916, allocations: 307.8 kB / 0.5708 GB, free: 2.875 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.2916, allocations: 4 kB / 0.5708 GB, free: 2.871 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2916, allocations: 0 / 0.5708 GB, free: 2.871 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2917, allocations: 3.984 kB / 0.5708 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.2923, allocations: 0.5897 MB / 0.5713 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.2923, allocations: 4 kB / 0.5713 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.2925, allocations: 51.89 kB / 0.5714 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-05/0.2926, allocations: 24.78 kB / 0.5714 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.2926, allocations: 7.984 kB / 0.5714 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00063/0.2933, allocations: 1.241 MB / 0.5726 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2933, allocations: 0 / 0.5726 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.2938, allocations: 454.6 kB / 0.5731 GB, free: 336 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.2938, allocations: 8.203 kB / 0.5731 GB, free: 328 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.2938, allocations: 17.3 kB / 0.5731 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2939, allocations: 8 kB / 0.5731 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.294, allocations: 19.91 kB / 0.5731 GB, free: 284 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.294, allocations: 11.98 kB / 0.5731 GB, free: 272 kB / 474.7 MB Notification: Performance of sorting global known variables: time 3.491e-05/0.294, allocations: 83.28 kB / 0.5732 GB, free: 188 kB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.294, allocations: 0 / 0.5732 GB, free: 188 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.2944, allocations: 135.7 kB / 0.5733 GB, free: 52 kB / 474.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.0005067/0.2949, allocations: 270.7 kB / 0.5736 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004106/0.2953, allocations: 219.9 kB / 0.5738 GB, free: 15.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2954, allocations: 0 / 0.5738 GB, free: 15.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.2956, allocations: 231.6 kB / 0.574 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.2959, allocations: 57.61 kB / 0.5741 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.2965, allocations: 434.5 kB / 0.5745 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.186e-05/0.2966, allocations: 94.09 kB / 0.5746 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.2967, allocations: 32.47 kB / 0.5746 GB, free: 14.67 MB / 490.7 MB Notification: Performance of SimCode: time 1.083e-06/0.2967, allocations: 0 / 0.5746 GB, free: 14.67 MB / 490.7 MB Notification: Performance of Templates: time 0.005786/0.3025, allocations: 5.252 MB / 0.5797 GB, free: 9.438 MB / 490.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.518900530412793]